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.03MB] [CPU: ▼3.19ms] Passed 4 tests
A check of server-side resources used by Boot Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.56 ▼1.93 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.96 ▼1.58 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.07 ▼4.20 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 89.11 ▼5.03 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.64 ▲2.97 |
Categories /wp-admin/edit-tags.php?taxonomy=bt-cat&post_type=bt-slider | 3.34 | 45.11 |
Add New /wp-admin/post-new.php?post_type=bt-slider | 3.40 | 54.34 |
Boot Slider /wp-admin/edit.php?post_type=bt-slider | 3.30 | 38.53 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Boot Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.31 ▼0.41 | 3.59 ▲1.77 | 41.67 ▼1.35 |
Dashboard /wp-admin | 2,226 ▲49 | 5.64 ▲0.05 | 84.56 ▼7.95 | 40.43 ▼4.96 |
Posts /wp-admin/edit.php | 2,131 ▲34 | 1.98 ▲0.01 | 41.41 ▲3.19 | 36.84 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,552 ▲15 | 23.56 ▲5.13 | 649.33 ▼9.12 | 53.57 ▼11.30 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.24 ▼0.07 | 100.59 ▼4.64 | 45.77 ▲2.48 |
Categories /wp-admin/edit-tags.php?taxonomy=bt-cat&post_type=bt-slider | 1,305 | 2.15 | 29.15 | 32.88 |
Add New /wp-admin/post-new.php?post_type=bt-slider | 2,292 | 7.61 | 176.51 | 68.52 |
Boot Slider /wp-admin/edit.php?post_type=bt-slider | 1,112 | 1.97 | 30.06 | 32.40 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boot-slider/inc/bt_slider_type.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/boot-slider/inc/bt_slider_shortcode.php:32
- > script 'wp-content/plugins/boot-slider/wp-admin.php' not found or unable to stat
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: placeholder, login-form, color, custom-style, icon
boot-slider/bt-slider.php 92% from 13 tests
Analyzing the main PHP file in "Boot Slider" version 1.0.1
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("boot-slider.php" instead of "bt-slider.php")
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
Good job! No executable or dangerous file extensions detected12,692 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 1,709 | 33 | 9,110 |
JavaScript | 2 | 1,063 | 495 | 3,465 |
PHP | 4 | 17 | 27 | 117 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin