Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.12ms] Passed 4 tests
Server-side resources used by Simple Accessible Spoilers
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.41 ▲6.73 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.68 ▼5.04 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.77 ▲3.07 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.59 ▼21.57 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.20 ▼0.94 |
Simple Accessible Spoliers Settings /wp-admin/options-general.php?page=simple-accessible-spoilers-options | 3.24 | 31.37 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Accessible Spoilers
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲154 | 13.67 ▼0.95 | 8.74 ▲6.85 | 31.40 ▼12.95 |
Dashboard /wp-admin | 2,241 ▲64 | 5.65 ▲0.11 | 81.96 ▼18.75 | 40.03 ▼2.98 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.03 ▼0.01 | 36.74 ▼1.94 | 30.45 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,531 ▼7 | 23.28 ▲5.15 | 666.13 ▲5.93 | 59.36 ▼8.22 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.20 ▲0.02 | 96.52 ▼20.26 | 48.87 ▼0.37 |
Simple Accessible Spoliers Settings /wp-admin/options-general.php?page=simple-accessible-spoilers-options | 784 | 1.99 | 24.55 | 26.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI ("")
simple-accessible-spoilers/simple-accessible-spoilers.php Passed 13 tests
The main PHP file in "Simple Accessible Spoilers" ver. 1.0.11 adds more information about the plugin and also serves as the entry point for this plugin
58 characters long description:
Create fully accessible content spoilers with a shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin263 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 56 | 29 | 185 |
CSS | 2 | 7 | 6 | 47 |
JavaScript | 1 | 9 | 5 | 31 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 13 | |
▷ Named functions | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin