Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.72ms] Passed 4 tests
Server-side resources used by Wp anything slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.92 ▼1.79 |
Dashboard /wp-admin | 3.34 ▲0.04 | 42.67 ▼5.63 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.29 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 85.89 ▼4.64 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.78 ▼2.83 |
Wp Anything Slider /wp-admin/options-general.php?page=wp-anything-slider | 3.25 | 28.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_wpanything_content |
wp_wpanything_settings |
New WordPress options |
---|
wpanything_title |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Wp anything slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 13.44 ▼0.93 | 7.91 ▲6.14 | 39.10 ▼7.89 |
Dashboard /wp-admin | 2,202 ▲25 | 5.67 ▲0.08 | 95.38 ▼3.43 | 43.52 ▲1.48 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.98 ▼0.05 | 39.47 ▲0.01 | 36.01 ▲2.18 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.87 ▲0.84 | 654.30 ▼51.87 | 50.11 ▼0.98 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.18 ▼0.03 | 101.86 ▼10.36 | 44.10 ▼3.45 |
Wp Anything Slider /wp-admin/options-general.php?page=wp-anything-slider | 985 | 2.15 | 24.47 | 26.78 |
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
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-anything-slider/wp-anything-slider.php
- > /wp-content/plugins/wp-anything-slider/pages/content-show.php
- > /wp-content/plugins/wp-anything-slider/pages/content-edit.php
- > /wp-content/plugins/wp-anything-slider/pages/cycle-setting-edit.php
- > /wp-content/plugins/wp-anything-slider/pages/cycle-setting-show.php
- > /wp-content/plugins/wp-anything-slider/pages/content-add.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: plugin, anything, wordpress, slider
wp-anything-slider/wp-anything-slider.php 92% from 13 tests
The primary PHP file in "Wp anything slider" version 9.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 258 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,225 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 118 | 123 | 1,152 |
PHP | 7 | 82 | 47 | 800 |
PO File | 2 | 98 | 132 | 223 |
CSS | 1 | 18 | 37 | 50 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin