Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.83 ▼3.09 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.46 ▼1.48 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.08 ▼4.66 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.41 ▼20.94 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.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 |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.53 ▼0.85 | 1.88 ▼0.12 | 38.19 ▼2.38 |
Dashboard /wp-admin | 2,209 ▲21 | 4.83 ▼0.06 | 109.77 ▲0.13 | 40.23 ▼4.33 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.01 | 38.88 ▼1.76 | 35.91 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,535 ▼2 | 23.31 ▲5.16 | 594.30 ▼8.34 | 50.55 ▼5.04 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.18 ▲0.04 | 100.30 ▲0.68 | 43.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
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 24 | 119 |
JavaScript | 1 | 8 | 1 | 23 |
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 code | 0.30 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 33.30KB | 20.70KB | ▼ 37.86% |