Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.02ms] Passed 4 tests
An overview of server-side resources used by Simple Testimonial
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.15 ▼7.68 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.12 ▼3.38 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.54 ▼2.06 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.83 ▼10.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.96 ▼0.06 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.37 | 48.34 |
All Testimonial /wp-admin/edit.php?post_type=testimonial | 3.29 | 37.92 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Testimonial
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.30 ▼0.06 | 1.67 ▼0.42 | 39.41 ▼4.44 |
Dashboard /wp-admin | 2,225 ▲54 | 5.61 ▼0.04 | 94.30 ▲3.97 | 38.93 ▼7.71 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.09 ▲0.10 | 40.90 ▲0.48 | 35.64 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.15 ▼0.08 | 667.50 ▲12.28 | 54.33 ▼10.18 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.19 ▲0.00 | 95.68 ▼21.45 | 43.45 ▼5.83 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,190 | 7.62 | 168.90 | 62.81 |
All Testimonial /wp-admin/edit.php?post_type=testimonial | 1,097 | 1.98 | 31.45 | 29.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/simple-testimonial/simple-testimonial.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Creating the Testimonial), #2 (How will testimonial show at frontend.)
simple-testimonial/simple-testimonial.php Passed 13 tests
The principal PHP file in "Simple Testimonial" v. 1.0 is loaded by WordPress automatically on each request
34 characters long description:
A brief description of the Plugin.
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
Good job! No executable or dangerous file extensions detected73 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 11 | 73 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 21.20KB | 10.43KB | ▼ 50.81% |
screenshot-1.png | 141.21KB | 44.35KB | ▼ 68.59% |