Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼137.43ms] Passed 4 tests
This is a short check of server-side resources used by WP Quote of the Day
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.09 | 3,282.00 ▲3,246.54 |
Dashboard /wp-admin | 3.21 ▲0.15 | 52.58 ▲5.77 |
Posts /wp-admin/edit.php | 3.26 ▲0.14 | 51.91 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.05 | 93.45 ▼564.40 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 40.26 ▲9.44 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for WP Quote of the Day
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,094 ▲457 | 17.81 ▲2.26 | 15.44 ▲5.37 | 78.33 ▲26.09 |
Dashboard /wp-admin | 3,201 ▲267 | 7.98 ▲1.81 | 172.94 ▲8.86 | 107.42 ▼16.18 |
Posts /wp-admin/edit.php | 2,996 ▲260 | 4.32 ▲1.64 | 94.19 ▲17.41 | 95.53 ▲5.11 |
Add New Post /wp-admin/post-new.php | 1,522 ▲24 | 18.61 ▼0.37 | 339.09 ▼46.20 | 134.19 ▲22.10 |
Media Library /wp-admin/upload.php | 1,845 ▲35 | 4.82 ▼0.20 | 119.89 ▼38.49 | 132.40 ▲9.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5, #6 in wp-quote-of-the-day/assets to your readme.txt
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
wp-quote-of-the-day/WpQuoteOfTheDay.php 92% from 13 tests
The main file in "WP Quote of the Day" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-quote-of-the-day.php" instead of "WpQuoteOfTheDay.php")
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
No dangerous file extensions were detected1,875 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 107 | 7 | 1,473 |
JavaScript | 4 | 58 | 0 | 220 |
CSS | 4 | 31 | 0 | 182 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 4 | 19.05% |
▷ Public methods | 14 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 33.33% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
There were not PNG files found in your plugin