Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼147.40ms] Passed 4 tests
Server-side resources used by Quotes & Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 32.88 ▲12.11 |
Dashboard /wp-admin | 3.13 ▲0.08 | 47.83 ▼1.13 |
Posts /wp-admin/edit.php | 3.18 ▲0.08 | 47.11 ▲0.19 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 92.95 ▼590.49 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 35.82 ▲1.82 |
Quotes & Testimonials /wp-admin/edit.php?post_type=quote | 3.15 | 40.57 |
Reorder Quotes /wp-admin/edit.php?post_type=quote&page=reorder_quotes | 3.08 | 34.94 |
Help /wp-admin/edit.php?post_type=quote&page=quotes_help | 3.08 | 33.40 |
Add New /wp-admin/post-new.php?post_type=quote | 3.17 | 48.79 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Quotes & Testimonials: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,754 ▲158 | 16.03 ▲0.08 | 10.13 ▼1.71 | 47.90 ▲0.39 |
Dashboard /wp-admin | 3,015 ▲81 | 5.95 ▲0.02 | 142.90 ▼19.06 | 107.57 ▼2.51 |
Posts /wp-admin/edit.php | 2,784 ▲45 | 2.72 ▼0.00 | 88.31 ▲24.59 | 85.92 ▼5.82 |
Add New Post /wp-admin/post-new.php | 1,712 ▼1,977 | 18.75 ▲3.44 | 383.89 ▼109.14 | 104.14 ▼8.79 |
Media Library /wp-admin/upload.php | 1,855 ▲48 | 5.06 ▲0.04 | 162.37 ▼47.54 | 124.29 ▼2.23 |
Quotes & Testimonials /wp-admin/edit.php?post_type=quote | 1,698 | 4.19 | 93.87 | 73.44 |
Reorder Quotes /wp-admin/edit.php?post_type=quote&page=reorder_quotes | 1,335 | 3.32 | 71.26 | 92.82 |
Help /wp-admin/edit.php?post_type=quote&page=quotes_help | 1,367 | 3.33 | 70.59 | 89.46 |
Add New /wp-admin/post-new.php?post_type=quote | 2,854 | 8.57 | 196.02 | 126.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quotes-and-testimonials/qt-settings.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quotes-and-testimonials/qt-cpt.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/quotes-and-testimonials/qt-fields.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quotes-and-testimonials/qt-shortcode.php:27
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=quote
- > Network (severe)
wp-content/plugins/quotes-and-testimonials/css/admin-quotes.css?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=quote
- > Network (severe)
wp-content/plugins/quotes-and-testimonials/js/meta-box-image.js?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=quote&page=quotes_help
- > Network (severe)
wp-content/plugins/quotes-and-testimonials/js/reorder.js?ver=20160502 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
2 plugin tags: quotes, testimonials
quotes-and-testimonials/quotes.php 85% from 13 tests
The main PHP script in "Quotes & Testimonials" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("quotes-and-testimonials.php" instead of "quotes.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 171 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin356 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 51 | 36 | 356 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected