Benchmarks
Plugin footprint 83% from 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.03MB] [CPU: ▼3.27ms] Passed 4 tests
Analyzing server-side resources used by Bamboo Testimonails
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.94 ▼6.73 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.12 ▲1.60 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.05 ▼4.49 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.66 ▼3.46 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.00 ▲5.09 |
All Testimonials /wp-admin/edit.php?post_type=bamboo_testimonial | 3.30 | 37.85 |
Add New /wp-admin/post-new.php?post_type=bamboo_testimonial | 3.38 | 52.18 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Bamboo Testimonails
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.67 ▲0.39 | 1.66 ▼0.02 | 42.91 ▲2.18 |
Dashboard /wp-admin | 2,216 ▲39 | 5.55 ▼0.06 | 90.34 ▼1.11 | 39.93 ▼3.69 |
Posts /wp-admin/edit.php | 2,124 ▲21 | 1.95 ▼0.06 | 35.70 ▼4.66 | 36.90 ▼3.19 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.02 ▼0.59 | 669.96 ▲14.46 | 51.83 ▼3.41 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.18 ▲0.00 | 99.12 ▼4.76 | 48.52 ▲5.28 |
All Testimonials /wp-admin/edit.php?post_type=bamboo_testimonial | 1,091 | 1.96 | 30.68 | 33.35 |
Add New /wp-admin/post-new.php?post_type=bamboo_testimonial | 2,175 | 7.55 | 173.95 | 62.86 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: shortcodes, testimonials, custom post type
bamboo-testimonials/bamboo-testimonials.php Passed 13 tests
"Bamboo Testimonails" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
68 characters long description:
Easily manage testimonials and display them throughout your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin77 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 17 | 77 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 6 | |
▷ Named functions | 6 | 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