78% no-copy-release

Code Review | No Copy Release

WordPress plugin No Copy Release scored78%from 54 tests.

About plugin

  • Plugin page: no-copy-release
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.7.5
  • WordPress version: 6.3.1
  • First release: Nov 23, 2015
  • Latest release: Aug 4, 2016
  • Number of updates: 8
  • Update frequency: every 70.4 days
  • Top authors: enqtran (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,296 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼2.63ms] Passed 4 tests

Analyzing server-side resources used by No Copy Release
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0143.64 ▲1.44
Dashboard /wp-admin3.31 ▲0.0144.04 ▼5.20
Posts /wp-admin/edit.php3.36 ▲0.0145.78 ▲2.76
Add New Post /wp-admin/post-new.php5.89 ▲0.0192.64 ▼9.50
Media Library /wp-admin/upload.php3.23 ▲0.0133.73 ▲3.79
No Copy Release /wp-admin/themes.php?page=no-copy-release3.1728.29

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for No Copy Release
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.26 ▼1.291.70 ▼0.3446.56 ▲2.02
Dashboard /wp-admin2,210 ▲225.89 ▲1.00107.70 ▼2.4741.34 ▲0.52
Posts /wp-admin/edit.php2,096 ▲72.05 ▼0.1239.97 ▼4.1736.45 ▼0.18
Add New Post /wp-admin/post-new.php1,522 ▼2023.47 ▲5.28640.43 ▲15.9052.96 ▼3.93
Media Library /wp-admin/upload.php1,386 ▼24.22 ▲0.0195.51 ▼11.1345.99 ▲3.60
No Copy Release /wp-admin/themes.php?page=no-copy-release8362.0223.7838.21

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/themes.php?page=no-copy-release
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/no-copy-release/plugin_no_copy_release.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png)
Please take inspiration from this readme.txt

no-copy-release/plugin_no_copy_release.php 92% from 13 tests

The primary PHP file in "No Copy Release" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("no-copy-release.php" instead of "plugin_no_copy_release.php")

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
No dangerous file extensions were detected98 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP172070
JavaScript20328

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png27.94KB14.99KB▼ 46.34%
screenshot-2.png9.38KB5.22KB▼ 44.32%