84% copyright-helper

Code Review | Copyright Helper

WordPress plugin Copyright Helper scored84%from 54 tests.

About plugin

  • Plugin page: copyright-helper
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.8
  • WordPress version: 6.3.1
  • First release: Jul 23, 2021
  • Latest release: Jul 23, 2021
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: couponduos (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /279 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
Install script ran successfully

Server metrics [RAM: ▼0.33MB] [CPU: ▼17.50ms] Passed 4 tests

Analyzing server-side resources used by Copyright Helper
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.19 ▼3.10
Dashboard /wp-admin3.31 ▼0.0447.03 ▼12.44
Posts /wp-admin/edit.php3.36 ▲0.0050.14 ▼0.15
Add New Post /wp-admin/post-new.php4.60 ▼1.2943.36 ▼53.33
Media Library /wp-admin/upload.php3.23 ▲0.0034.44 ▼1.12

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Copyright Helper
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.22 ▼1.161.66 ▼0.1339.48 ▼4.15
Dashboard /wp-admin2,206 ▲154.84 ▼1.06109.01 ▼2.2240.17 ▲0.59
Posts /wp-admin/edit.php2,089 ▲32.05 ▲0.0139.00 ▲3.3233.60 ▼0.55
Add New Post /wp-admin/post-new.php1,533 ▼023.31 ▲0.25595.02 ▼54.2061.35 ▲7.49
Media Library /wp-admin/upload.php1,388 ▼04.22 ▼0.1194.08 ▲0.3446.71 ▲7.70

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/copyright-helper/copyright-helper.php:19

User-side errors Passed 1 test

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: copyright helper, copyright helper couponduos, copyright plugin

copyright-helper/copyright-helper.php Passed 13 tests

The principal PHP file in "Copyright Helper" v. 1.0.0 is loaded by WordPress automatically on each request
91 characters long description:
This plugin will display a line of copyright information at the bottom of the article body.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin8 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.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
There are no PNG files in this plugin