Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.89MB] [CPU: ▼57.28ms] Passed 4 tests
This is a short check of server-side resources used by Stocklist Integrator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 5.66 ▼37.75 |
Dashboard /wp-admin | 2.12 ▼1.19 | 5.69 ▼55.83 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.36 ▼43.51 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 6.27 ▼92.02 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 5.19 ▼32.50 |
Stocklist Integrator /wp-admin/options-general.php?page=stocklist_integrator | 2.12 | 6.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Stocklist Integrator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.40 ▲0.10 | 1.72 ▼0.34 | 45.96 ▼6.22 |
Dashboard /wp-admin | 2,210 ▲28 | 5.86 ▼0.03 | 97.42 ▼9.16 | 37.02 ▼5.16 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.97 ▼0.17 | 37.46 ▼0.50 | 31.66 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,537 ▲15 | 23.25 ▲0.10 | 638.87 ▼37.59 | 46.04 ▼5.17 |
Media Library /wp-admin/upload.php | 1,392 ▲13 | 4.23 ▲0.01 | 92.73 ▼0.37 | 41.33 ▲2.01 |
Stocklist Integrator /wp-admin/options-general.php?page=stocklist_integrator | 865 | 2.02 | 22.87 | 38.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=stocklist_integrator
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=stocklist_integrator
- > Notice in wp-content/plugins/stocklist-integrator/stocklist-integrator.php+225
Trying to access array offset on value of type bool
SRP Passed 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
The SRP test was a success
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
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
2 plugin tags: embed, stock
stocklist-integrator/stocklist-integrator.php Passed 13 tests
The principal PHP file in "Stocklist Integrator" v. 1.0.0 is loaded by WordPress automatically on each request
106 characters long description:
Add a stocklist to your website. Works with multiple providers (Autotelex, Hexon, RDC / InMotiv, UCC, VWE)
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
There were no executable files found in this plugin304 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 34 | 221 |
PO File | 1 | 20 | 22 | 83 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 12 | 80.00% |
▷ Protected methods | 1 | 6.67% |
▷ Private methods | 2 | 13.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin