Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.20ms] Passed 4 tests
Analyzing server-side resources used by StyleBidet
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.86 ▲0.51 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.11 ▼0.76 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.61 ▼1.99 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 86.98 ▼8.39 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.84 ▼1.64 |
StyleBidet Settings /wp-admin/options-general.php?page=vnmStyleBidetSettings | 3.22 | 32.97 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
vnmStyleBidet_clean_save |
vnmStyleBidet_version |
vnmStyleBidet_remove_text_color |
vnmStyleBidet_clean_script |
vnmStyleBidet_clean_acf |
db_upgraded |
theysaidso_admin_options |
vnmStyleBidet_clean_output |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for StyleBidet
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.69 ▲0.32 | 1.82 ▲0.12 | 42.86 ▲0.14 |
Dashboard /wp-admin | 2,199 ▲19 | 5.61 ▼0.06 | 87.99 ▲1.39 | 40.61 ▼1.69 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.00 | 32.67 ▼2.93 | 34.68 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,528 ▼9 | 23.59 ▲5.63 | 606.48 ▼31.34 | 54.68 ▼14.72 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.20 ▲0.03 | 96.32 ▼6.41 | 44.67 ▼6.82 |
StyleBidet Settings /wp-admin/options-general.php?page=vnmStyleBidetSettings | 1,165 | 2.00 | 22.14 | 50.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Almost there! Just fix the following items
- 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/stylebidet/stylebidet.php:73
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: script, clean, css, purify, style...
stylebidet/stylebidet.php 92% from 13 tests
The principal PHP file in "StyleBidet" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 159 characters long)
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
There were no executable files found in this plugin913 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 114 | 62 | 508 |
PHP | 1 | 155 | 108 | 391 |
SVG | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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