84% cmse-copyright-footer

Code Review | CMSE Copyright Footer

WordPress plugin CMSE Copyright Footer scored 84% from 54 tests.

About plugin

  • Plugin page: cmse-copyright-fo...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.0
  • WordPress version: 5.8.1
  • First release: Oct 1, 2014
  • Latest release: Oct 1, 2014
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: websitedons (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active / 4,822 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼141.47ms] Passed 4 tests

An overview of server-side resources used by CMSE Copyright Footer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.0243.50 ▲6.25
Dashboard /wp-admin3.08 ▲0.0348.93 ▲1.12
Posts /wp-admin/edit.php3.13 ▲0.0348.62 ▲0.44
Add New Post /wp-admin/post-new.php5.44 ▲0.0185.95 ▼573.67
Media Library /wp-admin/upload.php3.02 ▲0.0241.39 ▲9.23

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for CMSE Copyright Footer
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,704 ▲10815.79 ▲0.209.77 ▼2.1951.09 ▼2.45
Dashboard /wp-admin2,970 ▲395.89 ▼0.22161.33 ▼2.68118.44 ▼1.14
Posts /wp-admin/edit.php2,736 ▼32.70 ▲0.0068.59 ▼4.7787.88 ▼9.65
Add New Post /wp-admin/post-new.php1,591 ▼9218.79 ▲0.06397.92 ▲13.74112.55 ▲0.04
Media Library /wp-admin/upload.php1,807 ▲35.01 ▼0.01155.13 ▲7.66124.80 ▲0.57

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 1 option in the database
    • widget_cmse_copyright_footer_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cmse-copyright-footer/cmse-copyright-footer.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Screenshots: Screenshot #1 (The settings) image required
Please take inspiration from this readme.txt

cmse-copyright-footer/cmse-copyright-footer.php Passed 13 tests

The main PHP script in "CMSE Copyright Footer" version 1.0.0 is automatically included on every request by WordPress
135 characters long description:
Add a footer copyright to the frontend with start and current year. Can also add plain text and HTML below and / or above the copyright

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin51 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.75
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-1.png9.33KB4.45KB▼ 52.35%