Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▲4.29ms] Passed 4 tests
This is a short check of server-side resources used by Bootstrap Multi-language Responsive Testimonials
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 46.81 ▲4.26 |
Dashboard /wp-admin | 3.47 ▲0.17 | 56.06 ▲5.30 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 58.95 ▲10.76 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 97.05 ▼2.31 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 45.94 ▲9.90 |
Testimonial /wp-admin/edit.php?post_type=testimonial | 3.42 | 45.21 |
Testimonial Categories /wp-admin/edit-tags.php?taxonomy=testimonial-types&post_type=testimonial | 3.51 | 39.74 |
Testimonial Settings /wp-admin/edit.php?post_type=testimonial&page=testimonial-settings | 3.36 | 42.28 |
Add New Item /wp-admin/post-new.php?post_type=testimonial | 3.53 | 62.39 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
testimonial_post_count |
theysaidso_admin_options |
widget_recent-comments |
testimonial_content |
testimonial_title |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Bootstrap Multi-language Responsive Testimonials: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲206 | 13.73 ▼0.67 | 7.82 ▲5.75 | 51.34 ▼0.38 |
Dashboard /wp-admin | 2,250 ▲65 | 5.90 ▲0.05 | 94.76 ▼19.92 | 38.46 ▼8.21 |
Posts /wp-admin/edit.php | 2,130 ▲44 | 2.03 ▲0.07 | 41.29 ▲4.90 | 33.93 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,546 ▲10 | 17.56 ▼5.78 | 676.34 ▲5.15 | 54.50 ▼2.01 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.31 ▲0.09 | 95.37 ▼6.49 | 42.38 ▼0.87 |
Testimonial /wp-admin/edit.php?post_type=testimonial | 1,150 | 1.95 | 29.96 | 32.32 |
Testimonial Categories /wp-admin/edit-tags.php?taxonomy=testimonial-types&post_type=testimonial | 1,300 | 2.14 | 29.28 | 26.67 |
Testimonial Settings /wp-admin/edit.php?post_type=testimonial&page=testimonial-settings | 907 | 2.02 | 22.54 | 41.13 |
Add New Item /wp-admin/post-new.php?post_type=testimonial | 2,557 | 7.74 | 169.35 | 64.04 |
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
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 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 50% 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
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/bootstrap-multi-language-responsive-testimonials/testimonial.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/bootstrap-multi-language-responsive-testimonials/wpt-posttype-testimonial.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/bootstrap-multi-language-responsive-testimonials/template-testimonial.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_attachment_image_src() in wp-content/plugins/bootstrap-multi-language-responsive-testimonials/content-testimonial.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bootstrap-multi-language-responsive-testimonials/testimonial-shortcode.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Testimonial page.), #2 (Testimonial Section Generated From Shortcode.), #3 (Add New Testimonial Item In Admin Area.), #4 (Testimonial Listing In Admin Area.), #5 (Testimonial Admin Settings.)
bootstrap-multi-language-responsive-testimonials/testimonial.php 85% from 13 tests
The entry point to "Bootstrap Multi-language Responsive Testimonials" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bootstrap-multi-language-responsive-testimonials.php" instead of "testimonial.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin6,755 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 46 | 35 | 6,190 |
PHP | 5 | 225 | 110 | 554 |
JavaScript | 3 | 1 | 14 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
8 PNG files occupy 0.42MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 47.40KB | 14.86KB | ▼ 68.65% |
images/controls.png | 1.42KB | 1.42KB | 0.27% |
screenshot-3.png | 83.32KB | 24.49KB | ▼ 70.60% |
images/nav-control.png | 1.91KB | 0.90KB | ▼ 52.89% |
screenshot-5.png | 34.25KB | 19.28KB | ▼ 43.70% |