10% additional-plugins-descriptions

Code Review | Additional Plugins Descriptions

WordPress plugin Additional Plugins Descriptions scored 10% from 54 tests.

About plugin

  • Plugin page: additional-plugin...
  • Plugin version: 0.1.0
  • PHP compatiblity: 5.3.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.9.4
  • WordPress version: 5.9.2
  • First release: Feb 19, 2018
  • Latest release: Feb 20, 2018
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: patanaka (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 589 total downloads


Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
  • Install procedure had errors
    • > Deprecated in wp-includes/class-wp-hook.php+307
    Non-static method AdditionalPluginsDescriptions::action_activation() should not be called statically

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

Analyzing server-side resources used by Additional Plugins Descriptions
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0353.54 ▲5.11
Dashboard /wp-admin3.45 ▲0.0433.86 ▼0.09
Posts /wp-admin/edit.php3.67 ▲0.0338.49 ▲2.37
Add New Post /wp-admin/post-new.php6.91 ▼0.0694.55 ▼1,162.03
Media Library /wp-admin/upload.php3.33 ▲0.0322.44 ▼1.57

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Additional Plugins Descriptions
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,764 ▲1015.83 ▲0.075.96 ▼0.032.43 ▲0.22
Dashboard /wp-admin2,895 ▲346.17 ▼0.03119.46 ▼17.57156.70 ▼7.32
Posts /wp-admin/edit.php2,685 ▼93.23 ▼0.0163.26 ▼1.27143.27 ▼0.97
Add New Post /wp-admin/post-new.php1,661 ▼5616.32 ▼4.72398.63 ▼71.89158.03 ▲0.33
Media Library /wp-admin/upload.php1,695 ▼35.48 ▼0.06144.33 ▲0.17182.57 ▼4.90

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
  • Uninstall procedure had uncaught errors
    • > Deprecated in wp-includes/class-wp-hook.php+307
    Non-static method AdditionalPluginsDescriptions::action_uninstall_me() should not be called statically

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)
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
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/additional-plugins-descriptions/additional-plugins-descriptions.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: plugins, comments, admin, descriptions

additional-plugins-descriptions/additional-plugins-descriptions.php Passed 13 tests

The primary PHP file in "Additional Plugins Descriptions" version 0.1.0 is used by WordPress to initiate all plugin functionality
56 characters long description:
Allows you to write additional descriptions for plugins.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin142 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity2.33
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods777.78%
▷ Protected methods00.00%
▷ Private methods222.22%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-1.png33.30KB20.70KB▼ 37.86%