Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼1.15ms] Passed 4 tests
A check of server-side resources used by Quick and Easy Testimonials
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 43.05 ▼1.52 |
Dashboard /wp-admin | 3.46 ▲0.15 | 50.89 ▼3.34 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 57.36 ▲7.01 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 92.51 ▼3.69 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 38.28 ▲3.94 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.50 | 54.37 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=testimonial | 3.38 | 38.84 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 3.43 | 37.71 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quick and Easy Testimonials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲71 | 13.13 ▼1.11 | 1.56 ▼0.38 | 40.28 ▼9.36 |
Dashboard /wp-admin | 2,234 ▲52 | 5.88 ▲0.78 | 103.01 ▼6.96 | 38.02 ▼3.33 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▲0.01 | 42.67 ▲6.63 | 40.57 ▲4.97 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 23.20 ▲0.09 | 632.78 ▲22.24 | 66.27 ▲1.72 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.21 ▼0.01 | 103.44 ▼5.19 | 43.25 ▼3.36 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,340 | 7.57 | 189.29 | 68.16 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=testimonial | 1,290 | 2.14 | 27.40 | 29.65 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 1,097 | 2.01 | 56.53 | 33.55 |
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
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=testimonial
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 10 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=testimonial
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 38 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=testimonial
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+206
Trying to get property 'ID' of non-object
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=testimonial
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please describe screenshot #2 in quick-and-easy-testimonials/assets to your readme.txt
quick-and-easy-testimonials/quick-and-easy-testimonials.php 92% from 13 tests
The entry point to "Quick and Easy Testimonials" version 1.1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin859 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 235 | 628 | 629 |
PO File | 1 | 48 | 49 | 126 |
CSS | 2 | 0 | 8 | 49 |
LESS | 1 | 7 | 4 | 49 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 4 | 10.26% |
▷ Public methods | 34 | 87.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.82% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin