figure.h:20: public: should be indented +1 space inside class Figure [whitespace/indent] [3]
figure.h:21: Do not leave a blank line after "public:" [whitespace/blank_line] [3]
figure.h:22: You don't need a ; after a } [readability/braces] [4]
figure.h:23: You don't need a ; after a } [readability/braces] [4]
figure.h:24: You don't need a ; after a } [readability/braces] [4]
figure.h:29: public: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:30: Do not leave a blank line after "public:" [whitespace/blank_line] [3]
figure.h:33: private: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:33: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
figure.h:33: "private:" should be preceded by a blank line [whitespace/blank_line] [3]
figure.h:34: Do not leave a blank line after "private:" [whitespace/blank_line] [3]
figure.h:39: public: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:40: Do not leave a blank line after "public:" [whitespace/blank_line] [3]
figure.h:52: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
figure.h:56: Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
figure.h:57: public: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:58: Do not leave a blank line after "public:" [whitespace/blank_line] [3]
figure.h:61: private: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:62: Do not leave a blank line after "private:" [whitespace/blank_line] [3]
figure.h:67: public: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:68: Do not leave a blank line after "public:" [whitespace/blank_line] [3]
figure.h:81: public: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:82: Do not leave a blank line after "public:" [whitespace/blank_line] [3]
figure.h:83: Missing space before { [whitespace/braces] [5]
figure.h:86: private: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:87: Do not leave a blank line after "private:" [whitespace/blank_line] [3]
figure.h:92: public: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:93: Do not leave a blank line after "public:" [whitespace/blank_line] [3]
figure.h:103: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
figure.h:106: Is this a non-const reference? If so, make const or use a pointer: std::string& input_dt [runtime/references] [2]
figure.h:108: Static/global string variables are not permitted. [runtime/string] [4]
figure.h:116: An else should appear on the same line as the preceding } [whitespace/newline] [4]
figure.h:116: If an else has a brace on one side, it should have it on both [readability/braces] [5]
figure.h:124: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
figure.h:129: Static/global string variables are not permitted. [runtime/string] [4]
figure.h:136: An else should appear on the same line as the preceding } [whitespace/newline] [4]
figure.h:136: If an else has a brace on one side, it should have it on both [readability/braces] [5]
figure.h:139: An else should appear on the same line as the preceding } [whitespace/newline] [4]
figure.h:139: If an else has a brace on one side, it should have it on both [readability/braces] [5]
figure.h:140: Lines should be <= 80 characters long [whitespace/line_length] [2]
Done processing figure.h
Total errors found: 40
|