Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.75ms] Passed 4 tests
Server-side resources used by Bamboo Slides
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.56 ▼2.00 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.07 ▲3.03 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.33 ▲0.98 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.78 ▼9.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.31 ▼0.77 |
Add New /wp-admin/post-new.php?post_type=bamboo_slide | 3.39 | 52.01 |
All Slides /wp-admin/edit.php?post_type=bamboo_slide | 3.30 | 37.34 |
Slide Groups /wp-admin/edit-tags.php?taxonomy=bamboo_slide_group&post_type=bamboo_slide | 3.25 | 35.09 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bamboo Slides
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,982 ▲193 | 13.75 ▲0.46 | 6.94 ▲5.37 | 38.65 ▼1.82 |
Dashboard /wp-admin | 2,240 ▲37 | 5.85 ▲0.06 | 98.89 ▲3.68 | 42.23 ▲0.75 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.03 ▼0.01 | 37.12 ▼2.99 | 37.48 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,560 ▲18 | 23.07 ▲4.81 | 604.25 ▼21.20 | 62.35 ▲12.37 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.21 ▲0.03 | 92.70 ▼7.69 | 44.38 ▲0.65 |
Add New /wp-admin/post-new.php?post_type=bamboo_slide | 2,443 | 7.70 | 173.81 | 80.95 |
All Slides /wp-admin/edit.php?post_type=bamboo_slide | 1,101 | 1.93 | 30.65 | 30.06 |
Slide Groups /wp-admin/edit-tags.php?taxonomy=bamboo_slide_group&post_type=bamboo_slide | 1,289 | 2.13 | 27.55 | 28.24 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: shortcodes, banners, sliders, slides, slideshows
bamboo-slides/bamboo-slides.php 92% from 13 tests
This is the main PHP file of "Bamboo Slides" version 1.9.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 172 characters long)
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
Success! There were no dangerous files found in this plugin802 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 89 | 21 | 328 |
PHP | 1 | 78 | 47 | 224 |
SVG | 1 | 0 | 0 | 167 |
Sass | 1 | 12 | 0 | 82 |
CSS | 1 | 1 | 1 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin