Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.81ms] Passed 4 tests
An overview of server-side resources used by Exploded View Filter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.88 ▲0.95 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.74 ▼12.81 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.87 ▼2.62 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.14 ▼8.74 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 35.56 ▲3.06 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Exploded View Filter: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.03 | 1.80 ▲0.24 | 42.00 ▲3.27 |
Dashboard /wp-admin | 2,198 ▲17 | 5.63 ▼0.07 | 98.33 ▼5.80 | 41.76 ▼2.85 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.00 | 34.47 ▼3.03 | 34.46 ▲0.53 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.36 ▲0.17 | 631.26 ▼56.75 | 59.10 ▼4.37 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▲0.03 | 93.36 ▼5.25 | 40.97 ▼3.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: exploded view, diagram, product filter
exploded-view-filter/exploded-view-filter.php Passed 13 tests
The main PHP script in "Exploded View Filter" version 1.0.0 is automatically included on every request by WordPress
55 characters long description:
Displays a diagram image with links to filter products.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,274 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 371 | 21 | 1,061 |
JavaScript | 1 | 72 | 0 | 197 |
CSS | 2 | 4 | 0 | 16 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 91 | |
▷ Static methods | 5 | 5.49% |
▷ Public methods | 86 | 94.51% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.49% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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