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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.56ms] Passed 4 tests
A check of server-side resources used by WPBatch Awesome Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.82 ▼2.74 |
Dashboard /wp-admin | 3.34 ▲0.03 | 52.45 ▼0.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.51 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.57 ▼15.68 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.59 ▼3.56 |
Add New /wp-admin/post-new.php?post_type=wpbatch_slider | 3.38 | 47.10 |
All Sliders /wp-admin/edit.php?post_type=wpbatch_slider | 3.30 | 38.54 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPBatch Awesome Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲146 | 13.47 ▼0.88 | 9.36 ▲7.48 | 42.27 ▼2.45 |
Dashboard /wp-admin | 2,225 ▲45 | 5.65 ▼0.01 | 88.24 ▼7.21 | 39.66 ▼1.74 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.03 ▲0.03 | 34.58 ▼5.49 | 39.55 ▲2.25 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.83 ▲0.30 | 677.77 ▲13.16 | 58.20 ▲3.08 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.19 ▲0.01 | 101.79 ▼6.05 | 44.54 ▼2.44 |
Add New /wp-admin/post-new.php?post_type=wpbatch_slider | 2,180 | 7.60 | 185.97 | 63.83 |
All Sliders /wp-admin/edit.php?post_type=wpbatch_slider | 1,100 | 1.97 | 35.50 | 30.55 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpbatch-awesome-slider/index.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wpbatch-awesome-slider ===
) - Contributors: Plugin contributors not specified
wpbatch-awesome-slider/index.php 92% from 13 tests
Analyzing the main PHP file in "WPBatch Awesome Slider" version 1.0
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wpbatch-awesome-slider.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected87 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 8 | 76 |
CSS | 1 | 0 | 8 | 7 |
JavaScript | 2 | 0 | 8 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin