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.06MB] [CPU: ▼2.78ms] Passed 4 tests
An overview of server-side resources used by Bootstrap Slider By themescode
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.48 ▼4.64 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.29 ▼4.67 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 42.77 ▼0.51 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 90.06 ▼1.29 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 32.64 ▲0.65 |
Categories /wp-admin/edit-tags.php?taxonomy=slider_category&post_type=tocode-slider | 3.28 | 32.09 |
Add New Slider /wp-admin/post-new.php?post_type=tocode-slider | 3.37 | 47.09 |
TC Sliders /wp-admin/edit.php?post_type=tocode-slider | 3.33 | 32.66 |
Slider Settings /wp-admin/edit.php?post_type=tocode-slider&page=slider_setting | 3.25 | 32.65 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Bootstrap Slider By themescode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 14.43 ▲0.05 | 1.63 ▼0.08 | 42.54 ▼4.00 |
Dashboard /wp-admin | 2,238 ▲50 | 5.79 ▲0.95 | 99.20 ▼2.49 | 39.16 ▼0.94 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.02 ▼0.04 | 35.29 ▼6.39 | 35.35 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,571 ▲43 | 18.38 ▲0.28 | 584.49 ▼30.35 | 46.13 ▼3.90 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.21 ▼0.02 | 128.69 ▲27.70 | 52.78 ▲5.31 |
Categories /wp-admin/edit-tags.php?taxonomy=slider_category&post_type=tocode-slider | 1,294 | 2.26 | 26.97 | 27.64 |
Add New Slider /wp-admin/post-new.php?post_type=tocode-slider | 1,807 | 3.73 | 64.62 | 33.45 |
TC Sliders /wp-admin/edit.php?post_type=tocode-slider | 1,097 | 2.08 | 30.72 | 28.48 |
Slider Settings /wp-admin/edit.php?post_type=tocode-slider&page=slider_setting | 894 | 2.06 | 23.34 | 25.96 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bootstrap-slider-by-themescode/libs/cpt.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bootstrap-slider-by-themescode/public/tcode-slider-view.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bootstrap-slider-by-themescode/bootstrap-slider-by-themescode.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bootstrap-slider-by-themescode/admin/tcode-slider-setting.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=tocode-slider&page=slider_setting
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=tocode-slider&page=slider_setting 153 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?post_type=tocode-slider&page=slider_setting
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=tocode-slider&page=slider_setting 158 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: bootstrap carousel slider, bootstrap responsive slider, bootstrap slider, themescode, boostrap carousel
bootstrap-slider-by-themescode/bootstrap-slider-by-themescode.php 92% from 13 tests
The primary PHP file in "Bootstrap Slider By themescode" version 1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
No dangerous file extensions were detected546 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 288 |
PHP | 4 | 29 | 19 | 165 |
CSS | 2 | 17 | 9 | 91 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 8 | |
▷ Named functions | 8 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon.png | 0.38KB | 0.32KB | ▼ 15.89% |