Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.50ms] Passed 4 tests
Server-side resources used by Fast Testimonial
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 41.61 ▲0.09 |
Dashboard /wp-admin | 3.39 ▲0.08 | 48.67 ▼3.94 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.31 ▼4.50 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 99.64 ▼19.58 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.73 ▼5.99 |
Settings /wp-admin/edit.php?post_type=fasttestimonial&page=fasttestimonial-page-settings | 3.28 | 36.68 |
All Items /wp-admin/edit.php?post_type=fasttestimonial | 3.36 | 37.28 |
Add New /wp-admin/post-new.php?post_type=fasttestimonial | 3.43 | 50.27 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Fast Testimonial: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲161 | 13.48 ▼0.81 | 8.98 ▲6.99 | 37.88 ▼2.82 |
Dashboard /wp-admin | 2,233 ▲56 | 5.60 ▼0.07 | 88.81 ▼9.48 | 38.27 ▼3.91 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.05 ▲0.05 | 37.99 ▼2.36 | 35.31 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.59 ▲2.47 | 685.29 ▲27.28 | 50.18 ▼7.06 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.22 ▲0.02 | 93.05 ▼24.33 | 44.63 ▼2.98 |
Settings /wp-admin/edit.php?post_type=fasttestimonial&page=fasttestimonial-page-settings | 884 | 1.82 | 26.42 | 28.94 |
All Items /wp-admin/edit.php?post_type=fasttestimonial | 1,099 | 1.98 | 33.23 | 27.94 |
Add New /wp-admin/post-new.php?post_type=fasttestimonial | 2,280 | 7.56 | 170.11 | 63.43 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
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
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fast-testimonial/frontend/Fast_Testimonial_Frontend.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fast-testimonial/admin/Fast_Testimonial_Admin.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/fast-testimonial/admin/Display_Setting_Template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/fast-testimonial/fast-testimonial.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fast-testimonial/inc/Fast_Testimonial_I18n.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: wordpress, slick-slider, testimonial, responsive, shortcode...
fast-testimonial/fast-testimonial.php 85% from 13 tests
The principal PHP file in "Fast Testimonial" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.5" instead of "5.2")
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.6" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,515 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 1 | 0 | 2,684 |
CSS | 5 | 53 | 11 | 481 |
PHP | 8 | 108 | 128 | 326 |
JavaScript | 3 | 2 | 0 | 24 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 5.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 3 | 15.79% |
▷ Public methods | 19 | 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 | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 compressed PNG files occupy 0.12MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/128/map.png | 36.20KB | 41.50KB | 0.00% |
images/bar.png | 0.37KB | 1.90KB | 0.00% |
images/bar-alpha.png | 2.14KB | 2.95KB | 0.00% |
images/preview-opacity.png | 0.13KB | 0.09KB | ▼ 31.85% |
images/bar-pointer.png | 0.19KB | 0.13KB | ▼ 34.34% |