Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼300.37ms] Passed 4 tests
Analyzing server-side resources used by Quote of the Day | QuoteTab
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 54.24 ▲3.16 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.79 ▼2.99 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 35.88 ▼0.38 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 94.42 ▼1,200.14 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 25.28 ▲2.04 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_foo_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Quote of the Day | QuoteTab
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 16.02 ▲0.34 | 6.16 ▲0.06 | 2.30 ▼0.48 |
Dashboard /wp-admin | 2,892 ▲37 | 6.11 ▼0.03 | 117.63 ▼15.70 | 155.41 ▼4.01 |
Posts /wp-admin/edit.php | 2,688 ▼3 | 3.25 ▲0.02 | 60.30 ▼2.84 | 136.75 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,719 ▲58 | 17.33 ▲0.37 | 430.58 ▲4.03 | 159.62 ▲7.77 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.49 ▲0.01 | 136.05 ▼20.61 | 182.35 ▼16.34 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_foo_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/quote-of-the-day-by-quotetab/qt-widget.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in quote-of-the-day-by-quotetab/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 26 tag instead of maximum 10
quote-of-the-day-by-quotetab/qt-widget.php 85% from 13 tests
The main PHP file in "Quote of the Day | QuoteTab" ver. 1.8 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 197 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("quote-of-the-day-by-quotetab.php" instead of "qt-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin87 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 52 | 87 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin