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
Installer ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼19.51ms] Passed 4 tests
This is a short check of server-side resources used by Best WP Testimonial
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 40.95 ▲1.19 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.15 ▼23.15 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 44.33 ▲1.60 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.67 | 34.18 ▼56.51 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.54 ▲0.45 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.17 | 32.72 |
Settings /wp-admin/edit.php?post_type=testimonial&page=bwpt-settings-page | 3.28 | 31.85 |
All Items /wp-admin/edit.php?post_type=testimonial | 3.35 | 37.22 |
Server storage [IO: ▲1.75MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Best WP Testimonial: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲197 | 14.06 ▼0.23 | 6.02 ▲4.17 | 38.62 ▼5.73 |
Dashboard /wp-admin | 2,259 ▲77 | 5.05 ▼0.92 | 99.49 ▼7.83 | 36.24 ▼2.25 |
Posts /wp-admin/edit.php | 2,141 ▲49 | 2.29 ▲0.26 | 38.18 ▼2.55 | 33.17 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,554 ▲40 | 23.25 ▲5.79 | 678.12 ▲63.35 | 37.06 ▼18.21 |
Media Library /wp-admin/upload.php | 1,438 ▲47 | 4.43 ▲0.23 | 97.29 ▼4.02 | 43.72 ▼0.54 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,248 | 7.76 | 182.07 | 66.61 |
Settings /wp-admin/edit.php?post_type=testimonial&page=bwpt-settings-page | 1,051 | 2.43 | 46.80 | 25.58 |
All Items /wp-admin/edit.php?post_type=testimonial | 1,111 | 2.24 | 33.35 | 27.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/best-wp-testimonial/inc/meta-box.php+43
Undefined index: testi_name
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/best-wp-testimonial/inc/meta-box.php+44
Undefined index: testi_desig
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/best-wp-testimonial/inc/meta-box.php+45
Undefined index: testi_rating
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/best-wp-testimonial/inc/bwpt-dynamic-css.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/best-wp-testimonial/inc/functions.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/best-wp-testimonial/best-wp-testimonial.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Front End), #2 (Ticker Settings), #3 (Back End)
best-wp-testimonial/best-wp-testimonial.php 92% from 13 tests
The main file in "Best WP Testimonial" v. 1.0.4 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:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 plugin5,575 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 5,028 |
PHP | 4 | 30 | 74 | 284 |
CSS | 5 | 0 | 6 | 196 |
JavaScript | 3 | 5 | 7 | 67 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 15 | |
▷ Named functions | 15 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 102.70KB | 23.66KB | ▼ 76.97% |
screenshot-1.png | 45.19KB | 15.93KB | ▼ 64.75% |
screenshot-3.png | 68.17KB | 26.55KB | ▼ 61.06% |