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
- > Notice in wp-content/plugins/shopp-ology/shopp-ology.php+42
Accessing static property Shopp_Ology::$yourname as non static
Server metrics [RAM: ▼1.81MB] [CPU: ▼50.45ms] Passed 4 tests
Server-side resources used by Shopp + Ology
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 6.70 ▼34.29 |
Dashboard /wp-admin | 2.19 ▼1.11 | 6.65 ▼42.67 |
Posts /wp-admin/edit.php | 2.19 ▼1.16 | 6.89 ▼40.15 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.69 | 6.20 ▼84.70 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 6.29 ▼29.50 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Shopp + Ology: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲45 | 14.42 ▲0.03 | 1.79 ▼0.14 | 43.97 ▼6.82 |
Dashboard /wp-admin | 2,208 ▲26 | 4.85 ▼1.01 | 115.65 ▲14.94 | 42.41 ▼2.10 |
Posts /wp-admin/edit.php | 2,073 ▼19 | 2.02 ▲0.05 | 35.45 ▼5.89 | 34.86 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,530 ▲16 | 23.23 ▲5.57 | 668.80 ▼31.10 | 62.36 ▲5.60 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.14 ▼0.08 | 97.85 ▼8.31 | 40.65 ▼3.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/shopp-ology/shopp-ology.php+42
Accessing static property Shopp_Ology::$yourname as non static
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/shopp-ology/shopp-ology.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Screenshot #1 (The Shopp + Ology WordPress admin page.2. An additional view of the Shopp + Ology WordPress admin page.) image missing
shopp-ology/shopp-ology.php Passed 13 tests
"Shopp + Ology" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
103 characters long description:
Generate information about your hosting environment to assist with troubleshooting WordPress and Shopp.
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
Everything looks great! No dangerous files found in this plugin413 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 22 | 400 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
2 PNG files occupy 0.20MB with 0.13MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 60.41KB | 19.74KB | ▼ 67.32% |
screenshot-1.png | 145.85KB | 50.06KB | ▼ 65.68% |