84% plugin-changelog-checker

Code Review | Plugin changelog checker

WordPress plugin Plugin changelog checker scored84%from 54 tests.

About plugin

  • Plugin page: plugin-changelog-...
  • Plugin version: 0.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.0
  • WordPress version: 6.3.1
  • First release: Oct 13, 2014
  • Latest release: Oct 13, 2014
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: szepe.viktor (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /608 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼5.38ms] Passed 4 tests

Analyzing server-side resources used by Plugin changelog checker
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0439.59 ▼3.57
Dashboard /wp-admin3.34 ▲0.0449.14 ▼2.84
Posts /wp-admin/edit.php3.39 ▲0.0350.07 ▲2.20
Add New Post /wp-admin/post-new.php5.92 ▲0.0384.70 ▼15.63
Media Library /wp-admin/upload.php3.26 ▲0.0336.67 ▲0.53

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Plugin changelog checker
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.45 ▼0.281.95 ▲0.0545.70 ▲2.81
Dashboard /wp-admin2,198 ▲245.63 ▲0.0086.49 ▼13.7040.19 ▼2.33
Posts /wp-admin/edit.php2,097 ▼61.95 ▼0.0335.77 ▲0.6133.63 ▼1.48
Add New Post /wp-admin/post-new.php1,531 ▲522.92 ▼0.69655.80 ▼45.1156.08 ▲0.83
Media Library /wp-admin/upload.php1,400 ▲34.18 ▲0.01100.52 ▼8.3646.22 ▼1.25

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > Malicious sign detected
      wpf2b_direct_access /wp-content/plugins/plugin-changelog-checker/plugin-changelog.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: development, changelog, svn, developer, plugin...

plugin-changelog-checker/plugin-changelog.php 92% from 13 tests

The principal PHP file in "Plugin changelog checker" v. 0.2.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("plugin-changelog-checker.php" instead of "plugin-changelog.php")

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
There were no executable files found in this plugin167 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP13717139
JavaScript15028

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.31
Average class complexity22.00
▷ Minimum class complexity22.00
▷ Maximum class complexity22.00
Average method complexity3.33
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods111.11%
▷ Public methods777.78%
▷ Protected methods00.00%
▷ Private methods222.22%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin