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: 6.3.1
  • 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 / 787 total downloads


Plugin footprint 40% 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
You still need to fix the following installer errors
  • The plugin cannot be installed
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method AdditionalPluginsDescriptions::action_activation() should not be called statically

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

Analyzing server-side resources used by Additional Plugins Descriptions
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0241.83 ▼3.09
Dashboard /wp-admin3.34 ▲0.0346.46 ▼1.48
Posts /wp-admin/edit.php3.39 ▲0.0349.08 ▼4.66
Add New Post /wp-admin/post-new.php5.92 ▲0.0387.41 ▼20.94
Media Library /wp-admin/upload.php3.26 ▲0.0334.60 ▼0.85

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Additional Plugins Descriptions
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.53 ▼0.851.88 ▼0.1238.19 ▼2.38
Dashboard /wp-admin2,209 ▲214.83 ▼0.06109.77 ▲0.1340.23 ▼4.33
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0138.88 ▼1.7635.91 ▲0.14
Add New Post /wp-admin/post-new.php1,535 ▼223.31 ▲5.16594.30 ▼8.3450.55 ▼5.04
Media Library /wp-admin/upload.php1,388 ▲64.18 ▲0.04100.30 ▲0.6843.67 ▼0.21

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method AdditionalPluginsDescriptions::action_uninstall_me() should not be called statically
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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 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 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 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
4 plugin tags: plugins, descriptions, comments, admin

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

The main PHP file in "Additional Plugins Descriptions" ver. 0.1.0 adds more information about the plugin and also serves as the entry point for this plugin
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 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected142 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
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

It is recommended to compress PNG files in your plugin to 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%