Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.17MB] [CPU: ▼286.89ms] Passed 4 tests
An overview of server-side resources used by Orange Bootstrap Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.97 ▲0.25 | 34.14 ▲4.88 |
Dashboard /wp-admin | 3.28 ▲0.23 | 45.06 ▲7.67 |
Posts /wp-admin/edit.php | 3.33 ▲0.22 | 36.71 ▼11.89 |
Add New Post /wp-admin/post-new.php | 4.17 ▼1.26 | 45.99 ▼1,136.12 |
Media Library /wp-admin/upload.php | 3.14 ▲0.13 | 33.66 ▼4.41 |
Add New /wp-admin/post-new.php?post_type=orange-slider | 3.07 | 35.35 |
Settings /wp-admin/edit.php?post_type=orange-slider&page=orange-carousel-slider-settings | 3.14 | 32.36 |
Orange Slider /wp-admin/edit.php?post_type=orange-slider | 3.21 | 35.04 |
Server storage [IO: ▲1.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 1 new option
New WordPress options |
---|
orange_slider_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Orange Bootstrap Carousel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,034 ▲428 | 18.30 ▲2.72 | 12.99 ▲4.77 | 73.11 ▲28.00 |
Dashboard /wp-admin | 3,209 ▲359 | 8.37 ▲2.36 | 174.00 ▲40.49 | 105.15 ▼2.06 |
Posts /wp-admin/edit.php | 3,008 ▲302 | 4.57 ▲1.89 | 84.03 ▲13.18 | 90.31 ▼4.70 |
Add New Post /wp-admin/post-new.php | 2,085 ▲497 | 19.39 ▼2.25 | 350.53 ▲75.36 | 130.80 ▲20.61 |
Media Library /wp-admin/upload.php | 1,855 ▲83 | 4.96 ▼0.02 | 118.44 ▼38.80 | 106.80 ▼13.37 |
Add New /wp-admin/post-new.php?post_type=orange-slider | 2,464 | 4.77 | 105.56 | 75.63 |
Settings /wp-admin/edit.php?post_type=orange-slider&page=orange-carousel-slider-settings | 3,468 | 4.08 | 85.74 | 82.45 |
Orange Slider /wp-admin/edit.php?post_type=orange-slider | 1,678 | 4.34 | 81.43 | 65.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=orange-slider
- > Notice in wp-content/plugins/orange-bootstrap-carousel/carousel_functions.php+251
Undefined index: podcastmeta_noncename
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-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orange-bootstrap-carousel/orange-bootstrap-carousel_settings.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=orange-slider
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8.1 1:31592 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/orange-bootstrap-carousel/js/scripts.js?ver=5.8.1:5:36)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8.1:2:30340)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=orange-slider
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8.1 1:31702 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.2), #2 (screenshot-3.2)
orange-bootstrap-carousel/orange-bootstrap-carousel.php 85% from 13 tests
The main file in "Orange Bootstrap Carousel" v. 0.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 239 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected5,598 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 420 | 26 | 2,556 |
JavaScript | 3 | 610 | 202 | 1,619 |
SVG | 2 | 0 | 0 | 928 |
PHP | 3 | 135 | 52 | 495 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.83 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 6.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.33MB with 0.19MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 57.10KB | 27.85KB | ▼ 51.22% |
screenshot-1.png | 259.97KB | 71.15KB | ▼ 72.63% |
screenshot-2.png | 21.23KB | 11.18KB | ▼ 47.35% |