Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲0.39ms] Passed 4 tests
An overview of server-side resources used by WP JDs Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.89 ▼1.18 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.66 ▼0.14 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 54.23 ▲3.77 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 101.48 ▲5.25 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.20 ▼0.90 |
Add New /wp-admin/post-new.php?post_type=wpjdstm_testimonials | 3.39 | 51.43 |
All Testimonials /wp-admin/edit.php?post_type=wpjdstm_testimonials | 3.32 | 39.54 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP JDs Testimonials
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.20 ▼1.18 | 4.55 ▲2.80 | 38.48 ▼11.46 |
Dashboard /wp-admin | 2,236 ▲45 | 4.85 ▼0.15 | 110.66 ▲5.74 | 41.39 ▼1.11 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 1.97 ▼0.03 | 41.83 ▲2.68 | 35.86 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,561 ▲26 | 23.22 ▲0.15 | 675.15 ▼34.77 | 50.88 ▼3.55 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.25 ▲0.00 | 102.65 ▼1.39 | 54.11 ▲8.68 |
Add New /wp-admin/post-new.php?post_type=wpjdstm_testimonials | 2,264 | 7.64 | 173.27 | 65.64 |
All Testimonials /wp-admin/edit.php?post_type=wpjdstm_testimonials | 1,080 | 1.98 | 30.41 | 31.22 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
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 shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% 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
5 plugin tags: testimonial backend, wordpress testimonials, testimonials, wordpress testimonial plugin, testimonial
wp-jds-testimonials/wp-jdstm-testimonials.php 69% from 13 tests
Analyzing the main PHP file in "WP JDs Testimonials" version 1.0.1
You should first fix the following items:
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-jds-testimonials.php" instead of "wp-jdstm-testimonials.php")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- 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 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected183 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 51 | 151 | 183 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin