Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼13.53ms] Passed 4 tests
Server-side resources used by Migrate away from Easy Testimonials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.47 ▼13.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.67 ▼7.66 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.49 ▼5.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.33 ▼28.28 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.91 ▲0.70 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Migrate away from Easy Testimonials
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.39 ▲0.01 | 1.77 ▼0.27 | 45.04 ▼0.05 |
Dashboard /wp-admin | 2,212 ▲38 | 5.61 ▲0.01 | 86.05 ▼22.67 | 45.42 ▼4.34 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.02 ▲0.03 | 39.08 ▲1.12 | 35.66 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.35 ▼0.17 | 683.67 ▼34.30 | 53.85 ▼3.42 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.22 ▲0.04 | 111.41 ▼23.31 | 47.70 ▼11.88 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: easy testimonials testimonial migrator, migrate from easy testimonials, migrate to strong testimonials, testimonial migrator
strong-testimonials-migrate-from-easy-testimonials/strong-testimonials-migrate-away-from-easy-testimonials.php 92% from 13 tests
The main PHP script in "Migrate away from Easy Testimonials" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("strong-testimonials-migrate-from-easy-testimonials.php" instead of "strong-testimonials-migrate-away-from-easy-testimonials.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin315 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 76 | 125 | 258 |
JavaScript | 1 | 2 | 0 | 39 |
CSS | 1 | 1 | 0 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected