Benchmarks
Plugin footprint 65% 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.90MB] [CPU: ▼34.49ms] Passed 4 tests
Analyzing server-side resources used by Testimonial
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.27 ▼6.42 |
Dashboard /wp-admin | 3.04 ▼0.26 | 23.83 ▼34.65 |
Posts /wp-admin/edit.php | 3.04 ▼0.32 | 22.52 ▼27.32 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.85 | 24.16 ▼67.45 |
Media Library /wp-admin/upload.php | 3.04 ▼0.19 | 23.65 ▼8.54 |
Settings /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu | 3.04 | 23.19 |
All Testimonials /wp-admin/edit.php?post_type=custom_posts | 3.04 | 24.90 |
Add New /wp-admin/post-new.php?post_type=custom_posts | 3.04 | 22.27 |
Groups /wp-admin/edit-tags.php?taxonomy=group&post_type=custom_posts | 3.04 | 23.53 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 57 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
gb_mega-testimonial |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Testimonial
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.21 ▼1.19 | 1.73 ▼0.28 | 43.69 ▼8.79 |
Dashboard /wp-admin | 2,241 ▲50 | 5.82 ▲0.99 | 98.28 ▼15.96 | 40.31 ▼6.00 |
Posts /wp-admin/edit.php | 2,124 ▲38 | 2.03 ▼0.02 | 35.40 ▲0.70 | 34.99 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,563 ▲27 | 23.19 ▲0.09 | 668.24 ▲38.21 | 59.19 ▲7.01 |
Media Library /wp-admin/upload.php | 1,420 ▲29 | 4.25 ▲0.03 | 109.96 ▲11.53 | 47.12 ▲5.33 |
Settings /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu | 1,698 | 2.33 | 40.89 | 125.22 |
All Testimonials /wp-admin/edit.php?post_type=custom_posts | 1,137 | 1.94 | 30.59 | 30.05 |
Add New /wp-admin/post-new.php?post_type=custom_posts | 6,390 | 20.40 | 927.89 | 39.43 |
Groups /wp-admin/edit-tags.php?taxonomy=group&post_type=custom_posts | 1,308 | 2.14 | 26.40 | 26.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/mega-testimonial/mega-testimonial.php+330
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- gb_mega-testimonial
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=group&post_type=custom_posts
- > Deprecated in wp-content/plugins/mega-testimonial/mega-testimonial.php+330
Function create_function() is deprecated
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Bold.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Regular.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Light.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Bold.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Regular.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Light.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Bold.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Regular.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=custom_posts&page=tm-submenu
- > Network (severe)
wp-content/plugins/mega-testimonial/external/bootstrap-3.3.7/font/roboto/Roboto-Light.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
mega-testimonial/mega-testimonial.php Passed 13 tests
The main PHP file in "Testimonial" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
130 characters long description:
Mega Testimonials is the perfect tool for arranging and expressing the testimonials/reviews from your people you want to show off.
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
Success! There were no dangerous files found in this plugin2,056 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 159 | 362 | 1,385 |
CSS | 8 | 16 | 53 | 350 |
SVG | 1 | 0 | 0 | 288 |
JavaScript | 6 | 8 | 26 | 33 |
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.55 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
8 PNG files occupy 0.43MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/sn_one.png | 47.68KB | 17.30KB | ▼ 63.71% |
assets/img/gn_fade.png | 52.32KB | 18.84KB | ▼ 63.99% |
assets/img/gb_logo.png | 14.08KB | 6.17KB | ▼ 56.16% |
assets/img/tm_banner.png | 165.63KB | 60.53KB | ▼ 63.45% |
assets/img/default.png | 22.17KB | 10.70KB | ▼ 51.74% |