Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.17ms] Passed 4 tests
An overview of server-side resources used by Night Carousel Plus
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.92 ▼4.11 |
Dashboard /wp-admin | 3.39 ▲0.04 | 53.21 ▼11.08 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 52.19 ▲4.59 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 108.43 ▲8.24 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.36 ▲1.94 |
Add New Owl Slide /wp-admin/post-new.php?post_type=ncp-slides | 3.44 | 54.05 |
All Owl Slides /wp-admin/edit.php?post_type=ncp-slides | 3.35 | 37.99 |
Owl Slide Carousel /wp-admin/edit-tags.php?taxonomy=ncp-carousel&post_type=ncp-slides | 3.30 | 27.36 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Night Carousel Plus: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.38 ▲0.03 | 3.64 ▲1.70 | 38.78 ▼6.14 |
Dashboard /wp-admin | 2,229 ▲55 | 5.63 ▲0.07 | 96.06 ▼4.27 | 41.40 ▼2.64 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.97 ▲0.03 | 40.24 ▲0.02 | 41.07 ▲5.39 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 18.17 ▼5.37 | 607.21 ▼78.20 | 74.37 ▲15.05 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.18 ▼0.01 | 100.01 ▼10.13 | 43.16 ▼4.81 |
Add New Owl Slide /wp-admin/post-new.php?post_type=ncp-slides | 2,339 | 7.73 | 176.98 | 66.09 |
All Owl Slides /wp-admin/edit.php?post_type=ncp-slides | 1,103 | 1.97 | 29.94 | 31.36 |
Owl Slide Carousel /wp-admin/edit-tags.php?taxonomy=ncp-carousel&post_type=ncp-slides | 1,305 | 2.12 | 26.14 | 27.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
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
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 5× 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/night-carousel-plus/src/ncp-cpt-owl-slides.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/night-carousel-plus/src/ncp-carousel-options.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/night-carousel-plus/src/ncp-enqueue.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/night-carousel-plus/src/ncp-enqueue.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/night-carousel-plus/src/ncp-shortcodes.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Requires at least: The plugin version is formatted incorrectly
night-carousel-plus/night-carousel-plus.php Passed 13 tests
The primary PHP file in "Night Carousel Plus" version 1.1.4 is used by WordPress to initiate all plugin functionality
47 characters long description:
Easy Manager for the Owl Carousel Jquery Plugin
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
Everything looks great! No dangerous files found in this plugin534 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 31 | 58 | 257 |
CSS | 3 | 10 | 31 | 231 |
Markdown | 1 | 19 | 0 | 44 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
assets/img/ocpscreen.png | 92.39KB | 24.25KB | ▼ 73.75% |