Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.92MB] [CPU: ▼31.03ms] Passed 4 tests
Server-side resources used by Testimonials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 34.02 ▼6.78 |
Dashboard /wp-admin | 3.03 ▼0.28 | 23.62 ▼24.70 |
Posts /wp-admin/edit.php | 3.03 ▼0.33 | 24.84 ▼18.99 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 23.87 ▼65.54 |
Media Library /wp-admin/upload.php | 3.03 ▼0.20 | 22.08 ▼14.88 |
Testimonials /wp-admin/admin.php?page=testimonialswzm_page | 3.03 | 22.99 |
Settings /wp-admin/admin.php?page=Testimonials | 3.03 | 22.59 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
tpage |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
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,825 ▲90 | 13.24 ▼1.15 | 4.25 ▲2.64 | 41.90 ▼1.66 |
Dashboard /wp-admin | 2,226 ▲35 | 5.77 ▼0.13 | 94.61 ▼6.34 | 39.64 ▼1.57 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.04 ▲0.04 | 39.58 ▲0.29 | 35.14 ▼5.23 |
Add New Post /wp-admin/post-new.php | 1,553 ▲39 | 23.37 ▲5.73 | 640.02 ▼99.45 | 57.38 ▲7.19 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.24 ▲0.05 | 94.78 ▼9.59 | 42.99 ▼2.89 |
Testimonials /wp-admin/admin.php?page=testimonialswzm_page | 1,734 | 2.75 | 34.94 | 32.55 |
Settings /wp-admin/admin.php?page=Testimonials | 813 | 2.07 | 24.93 | 26.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- tpage
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 20 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Testimonials
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=Testimonials
- > Notice in wp-content/plugins/testimonials-wzm/testimonials_import_admin.php+8
Undefined index: tab
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: wordpress testimonials, custom color, custom css, testimonial shortcodes, testimonial...
testimonials-wzm/merlin-testimonials.php 92% from 13 tests
The main file in "Testimonials" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("testimonials-wzm.php" instead of "merlin-testimonials.php")
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
Good job! No executable or dangerous file extensions detected168 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 22 | 162 |
CSS | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin