perf: add Moq1208 benchmarks for issue #777 completion #1089
1 new issue (0 max.) of at least medium severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 3
Complexity increasing per file
==============================
- tests/Moq.Analyzers.Benchmarks/Moq1208ReturnsDelegateBenchmarks.cs 6
Clones added
============
- tests/Moq.Analyzers.Benchmarks/Moq1208ReturnsDelegateBenchmarks.cs 5
See the complete overview on Codacy
Annotations
Check warning on line 1 in tests/Moq.Analyzers.Benchmarks/Moq1208ReturnsDelegateBenchmarks.cs
codacy-production / Codacy Static Code Analysis
tests/Moq.Analyzers.Benchmarks/Moq1208ReturnsDelegateBenchmarks.cs#L1
Provide an 'AssemblyVersion' attribute for assembly 'srcassembly.dll'.
Check notice on line 3 in tests/Moq.Analyzers.Benchmarks/Moq1208ReturnsDelegateBenchmarks.cs
codacy-production / Codacy Static Code Analysis
tests/Moq.Analyzers.Benchmarks/Moq1208ReturnsDelegateBenchmarks.cs#L3
Remove this unnecessary 'using'.
Check notice on line 15 in tests/Moq.Analyzers.Benchmarks/Moq1208ReturnsDelegateBenchmarks.cs
codacy-production / Codacy Static Code Analysis
tests/Moq.Analyzers.Benchmarks/Moq1208ReturnsDelegateBenchmarks.cs#L15
Assign this magic number '1000' to a well-named variable or constant, and use that instead.