figure.h:20: public: should be indented +1 space inside class Figure [whitespace/indent] [3]
figure.h:21: You don't need a ; after a } [readability/braces] [4]
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:28: public: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:28: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
figure.h:31: private: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:31: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
figure.h:36: public: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:48: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
figure.h:52: Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
figure.h:53: public: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:56: private: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:61: public: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:74: public: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:74: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
figure.h:75: Missing space before { [whitespace/braces] [5]
figure.h:78: private: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:83: public: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:93: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
figure.h:96: Is this a non-const reference? If so, make const or use a pointer: std::string& input_dt [runtime/references] [2]
figure.h:98: Static/global string variables are not permitted. [runtime/string] [4]
figure.h:106: An else should appear on the same line as the preceding } [whitespace/newline] [4]
figure.h:106: If an else has a brace on one side, it should have it on both [readability/braces] [5]
figure.h:114: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
figure.h:119: Static/global string variables are not permitted. [runtime/string] [4]
figure.h:126: An else should appear on the same line as the preceding } [whitespace/newline] [4]
figure.h:126: If an else has a brace on one side, it should have it on both [readability/braces] [5]
figure.h:129: An else should appear on the same line as the preceding } [whitespace/newline] [4]
figure.h:129: If an else has a brace on one side, it should have it on both [readability/braces] [5]
figure.h:130: Lines should be <= 80 characters long [whitespace/line_length] [2]
Done processing figure.h
Total errors found: 31
|