Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲2.62ms] Passed 4 tests
This is a short check of server-side resources used by Simple Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 35.92 ▼5.00 |
Dashboard /wp-admin | 3.41 ▲0.11 | 51.11 ▲2.46 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 53.06 ▲8.62 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 100.89 ▲16.73 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.23 ▲4.41 |
Testimonial Categories /wp-admin/edit-tags.php?taxonomy=testimonialcategory&post_type=testimonials | 3.32 | 35.62 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.24 | 32.92 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.37 | 35.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_pix_testimonials_widget |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Testimonials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.18 ▼1.19 | 1.71 ▼0.16 | 42.51 ▼6.52 |
Dashboard /wp-admin | 2,237 ▲49 | 4.83 ▼0.07 | 106.42 ▼2.32 | 41.42 ▼5.00 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.00 ▲0.03 | 39.05 ▲0.85 | 34.47 ▲1.15 |
Add New Post /wp-admin/post-new.php | 6,376 ▲4,856 | 27.64 ▲4.36 | 903.89 ▲224.34 | 59.27 ▲2.49 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.21 ▼0.01 | 104.32 ▲8.54 | 45.62 ▲4.48 |
Testimonial Categories /wp-admin/edit-tags.php?taxonomy=testimonialcategory&post_type=testimonials | 1,293 | 2.13 | 31.26 | 28.94 |
Add New /wp-admin/post-new.php?post_type=testimonials | 1,516 | 2.55 | 63.71 | 52.65 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,089 | 2.07 | 31.30 | 29.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_pix_testimonials_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=testimonials
- > Notice in wp-content/plugins/simple-testimonials/pixelovely_testimonial.php+184
Undefined index: pix_simple_testimonial_pagemeta_noncename
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-testimonials/pixelovely_testimonial.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Requires php: Version not formatted correctly
simple-testimonials/pixelovely_testimonial.php 77% from 13 tests
The primary PHP file in "Simple Testimonials" version 1.0.7 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 161 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-testimonials.php" instead of "pixelovely_testimonial.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin439 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 101 | 35 | 386 |
JavaScript | 1 | 2 | 0 | 47 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 5.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/headshot2.png | 31.39KB | 15.47KB | ▼ 50.72% |