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.75MB] [CPU: ▲3.80ms] Passed 4 tests
Server-side resources used by BNE Testimonials
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 39.78 ▼2.18 |
Dashboard /wp-admin | 4.20 ▲0.90 | 59.49 ▲10.07 |
Posts /wp-admin/edit.php | 4.28 ▲0.93 | 53.26 ▲1.76 |
Add New Post /wp-admin/post-new.php | 6.79 ▲0.90 | 91.05 ▲8.77 |
Media Library /wp-admin/upload.php | 4.12 ▲0.89 | 41.77 ▲6.85 |
Help /wp-admin/edit.php?post_type=bne_testimonials&page=bne-testimonial-help | 4.10 | 35.57 |
Categories /wp-admin/edit-tags.php?taxonomy=bne-testimonials-taxonomy&post_type=bne_testimonials | 4.12 | 43.33 |
Add New /wp-admin/post-new.php?post_type=bne_testimonials | 4.57 | 60.88 |
All Testimonials /wp-admin/edit.php?post_type=bne_testimonials | 4.17 | 39.04 |
Server storage [IO: ▲2.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 210 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_bne_testimonials_slider_widget |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_bne_testimonials_list_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for BNE Testimonials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.24 ▼1.52 | 1.79 ▲0.07 | 37.77 ▼5.66 |
Dashboard /wp-admin | 2,249 ▲64 | 5.94 ▲1.06 | 106.01 ▲0.53 | 43.98 ▲1.98 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.05 ▲0.05 | 41.72 ▲5.60 | 36.08 ▲2.62 |
Add New Post /wp-admin/post-new.php | 1,547 ▲27 | 23.37 ▲0.29 | 647.02 ▼67.75 | 48.39 ▼6.68 |
Media Library /wp-admin/upload.php | 1,431 ▲40 | 4.28 ▲0.06 | 99.24 ▲2.05 | 40.83 ▼1.50 |
Help /wp-admin/edit.php?post_type=bne_testimonials&page=bne-testimonial-help | 1,586 | 2.16 | 29.22 | 47.08 |
Categories /wp-admin/edit-tags.php?taxonomy=bne-testimonials-taxonomy&post_type=bne_testimonials | 1,310 | 2.22 | 29.55 | 29.83 |
Add New /wp-admin/post-new.php?post_type=bne_testimonials | 2,389 | 7.97 | 195.27 | 68.01 |
All Testimonials /wp-admin/edit.php?post_type=bne_testimonials | 1,120 | 2.02 | 32.41 | 29.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- widget_bne_testimonials_slider_widget
- widget_recent-comments
- widget_bne_testimonials_list_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bne-testimonials/includes/lib/cmb2/apigen/hook-docs.php
- 41× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_Counter_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/bne-testimonials/includes/lib/cmb2/includes/types/CMB2_Type_Radio.php:13
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: testimonial widget, reviews, flexslider, feedback, random testimonials...
bne-testimonials/bne-testimonials.php 92% from 13 tests
"BNE Testimonials" version 2.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin24,931 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 81 | 2,770 | 7,091 | 8,563 |
CSS | 18 | 469 | 1,333 | 5,514 |
JavaScript | 17 | 771 | 1,052 | 4,435 |
JSON | 2 | 0 | 0 | 4,264 |
Sass | 17 | 305 | 29 | 1,407 |
Markdown | 4 | 239 | 0 | 748 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 19.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 74 | |
▷ Abstract classes | 9 | 12.16% |
▷ Concrete classes | 65 | 87.84% |
▷ Final classes | 0 | 0.00% |
Methods | 569 | |
▷ Static methods | 92 | 16.17% |
▷ Public methods | 474 | 83.30% |
▷ Protected methods | 90 | 15.82% |
▷ Private methods | 5 | 0.88% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 8 | 57.14% |
▷ Class constants | 6 | 42.86% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
31 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/menu-icon.png | 14.68KB | 4.69KB | ▼ 68.08% |
assets/images/flexslider-direction-nav.png | 0.55KB | 0.57KB | 0.00% |
includes/lib/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/images/slider-arrows.png | 1.10KB | 1.12KB | 0.00% |
includes/lib/cmb2/apigen/theme-bootstrap/src/resources/inherit.png | 0.15KB | 0.10KB | ▼ 29.61% |