Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.43ms] Passed 4 tests
An overview of server-side resources used by Gifted Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.89 ▲4.29 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.44 ▼2.87 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.64 ▼2.81 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.33 ▼13.20 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.98 ▲1.17 |
All Testimonials /wp-admin/edit.php?post_type=gifted_testimonials | 3.31 | 34.81 |
Add New Testimonial /wp-admin/post-new.php?post_type=gifted_testimonials | 3.38 | 63.29 |
Locations /wp-admin/edit-tags.php?taxonomy=gifted_testimonials_location&post_type=gifted_testimonials | 3.26 | 33.31 |
Server storage [IO: ▲2.85MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Gifted Testimonials
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲144 | 13.48 ▼0.89 | 9.96 ▲8.10 | 41.65 ▲0.31 |
Dashboard /wp-admin | 2,226 ▲45 | 5.64 ▼0.02 | 88.96 ▼14.77 | 37.69 ▼4.91 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.04 ▲0.03 | 36.10 ▼1.78 | 32.05 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,570 ▲42 | 25.02 ▲2.00 | 606.53 ▼17.05 | 101.13 ▲32.89 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.23 ▼0.01 | 94.27 ▼9.07 | 42.71 ▲0.03 |
All Testimonials /wp-admin/edit.php?post_type=gifted_testimonials | 1,109 | 1.97 | 30.78 | 27.86 |
Add New Testimonial /wp-admin/post-new.php?post_type=gifted_testimonials | 2,339 | 7.60 | 189.86 | 79.08 |
Locations /wp-admin/edit-tags.php?taxonomy=gifted_testimonials_location&post_type=gifted_testimonials | 1,277 | 2.12 | 27.00 | 27.32 |
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
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'kmgt_deactivation' not found or invalid function name
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gifted-testimonials/gifted-testimonials.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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 to be fixed:
- Donate link: Please fix this invalid URI: "www.kofimokome.space"
gifted-testimonials/gifted-testimonials.php Passed 13 tests
The principal PHP file in "Gifted Testimonials" v. 1.0.1 is loaded by WordPress automatically on each request
36 characters long description:
Displays a nice testimonial carousel
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 plugin9,326 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,954 |
PHP | 4 | 46 | 37 | 227 |
Sass | 1 | 6 | 4 | 52 |
CSS | 4 | 1 | 15 | 36 |
JavaScript | 2 | 2 | 8 | 31 |
Markdown | 1 | 12 | 0 | 26 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 64.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 35.29% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/screenshot-1.png | 65.01KB | 23.43KB | ▼ 63.96% |