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.17MB] [CPU: ▼11.31ms] Passed 4 tests
Analyzing server-side resources used by Storenvy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.81 ▲6.61 |
Dashboard /wp-admin | 3.20 ▼0.11 | 33.04 ▼15.42 |
Posts /wp-admin/edit.php | 3.26 ▼0.09 | 38.04 ▼12.01 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 77.51 ▼20.24 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 35.63 ▲2.42 |
Storenvy /wp-admin/options-general.php?page=storenvy/storenvy.php | 3.17 | 29.03 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
storenvy |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Storenvy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 14.74 ▲0.36 | 1.94 ▲0.12 | 39.39 ▼6.39 |
Dashboard /wp-admin | 2,213 ▲25 | 5.90 ▲1.01 | 104.92 ▼4.32 | 38.40 ▼2.55 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.06 ▲0.05 | 40.35 ▼0.74 | 34.50 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.46 ▲0.21 | 664.88 ▲23.06 | 67.34 ▲15.03 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.19 ▼0.13 | 97.44 ▼12.10 | 46.15 ▼0.56 |
Storenvy /wp-admin/options-general.php?page=storenvy/storenvy.php | 1,159 | 2.01 | 29.68 | 37.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- storenvy
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=storenvy/storenvy.php
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
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 trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/storenvy/storenvy.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== storenvy ===
)
storenvy/storenvy.php Passed 13 tests
"Storenvy" version 0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
43 characters long description:
Display your Storenvy products on your site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin333 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 111 | 52 | 333 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
No PNG files were detected