Showing 10 of 10 total issues
Method BuildFrames
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
protected List<Frame> BuildFrames(Exception exception) { var frames = new List<Frame>(); var stacktrace = new System.Diagnostics.StackTrace(exception, true); var stackTraceFrames = stacktrace.GetFrames();
Similar blocks of code found in 3 locations. Consider refactoring. Open
protected Dictionary<string, string> QueryToDictionary(IQueryCollection queryCollection) { var dictionary = new Dictionary<string, string>(); foreach (var query in queryCollection) {
- Read upRead up
Similar blocks of code found in 3 locations. Consider refactoring. Open
protected Dictionary<string, string> FormToDictionary(IFormCollection formCollection) { var dictionary = new Dictionary<string, string>(); foreach (var form in formCollection) {
- Read upRead up
Similar blocks of code found in 3 locations. Consider refactoring. Open
protected Dictionary<string, string> HeadersToDictionary(IHeaderDictionary headerDictionary) { var dictionary = new Dictionary<string, string>(); foreach (var header in headerDictionary) {
- Read upRead up
Method QueryStringBreakdown
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
protected string QueryStringBreakdown(string queryString) { if (queryString.Length == 0) { return queryString;
Similar blocks of code found in 2 locations. Consider refactoring. Open
namespace RollbarDotNet.Payloads{ using Newtonsoft.Json; [JsonObject(MemberSerialization.OptIn)]
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
namespace RollbarDotNet.Payloads{ using Newtonsoft.Json; [JsonObject(MemberSerialization.OptIn)]
- Read upRead up
Method Log
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Bare URL used Open
The UUID can be looked up directly via https://rollbar.com/occurrence/uuid/?uuid=[UUID HERE]. This may be really useful if you want to let your users report errors to you, you can include this UUID automatically in the report.
- Read upRead up
- Exclude checks