Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.19ms] Passed 4 tests
Analyzing server-side resources used by Easy Quotes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 35.58 ▼4.10 |
Dashboard /wp-admin | 3.39 ▲0.04 | 47.08 ▼12.86 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.09 ▲2.09 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 82.76 ▼9.12 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.12 ▲1.34 |
Add New /wp-admin/post-new.php?post_type=quote | 3.44 | 53.28 |
All Quotes /wp-admin/edit.php?post_type=quote | 3.41 | 40.88 |
Categories /wp-admin/edit-tags.php?taxonomy=quote-category&post_type=quote | 3.39 | 34.86 |
Server storage [IO: ▲0.92MB] [DB: ▲0.34MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 26 new files
Database: 6 new tables, 7 new options
New tables |
---|
wp_easy-quotes-variants |
wp_easy-quotes-files |
wp_easy-quotes-family-subsets |
wp_easy-quotes-categories |
wp_easy-quotes-families |
wp_easy-quotes-subsets |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
easy-quotes-db-version |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Quotes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,990 ▲229 | 13.48 ▼0.87 | 9.92 ▲8.21 | 41.44 ▲0.54 |
Dashboard /wp-admin | 2,226 ▲52 | 5.63 ▲0.05 | 87.00 ▼3.73 | 38.94 ▼2.24 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.98 ▼0.04 | 33.94 ▼1.23 | 35.18 ▼3.14 |
Add New Post /wp-admin/post-new.php | 1,761 ▲235 | 21.93 ▼1.09 | 625.36 ▼59.60 | 29.46 ▼31.51 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.19 ▲0.04 | 94.88 ▼15.18 | 44.57 ▼2.24 |
Add New /wp-admin/post-new.php?post_type=quote | 2,412 | 7.81 | 197.13 | 68.34 |
All Quotes /wp-admin/edit.php?post_type=quote | 1,948 | 2.06 | 35.71 | 31.74 |
Categories /wp-admin/edit-tags.php?taxonomy=quote-category&post_type=quote | 1,305 | 2.12 | 26.39 | 29.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.34MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 tables in the database
- wp_easy-quotes-families
- wp_easy-quotes-files
- wp_easy-quotes-family-subsets
- wp_easy-quotes-variants
- wp_easy-quotes-categories
- wp_easy-quotes-subsets
- This plugin does not fully uninstall, leaving 7 options in the database
- easy-quotes-db-version
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: random, daily, quote, testimonials, rating...
easy-quotes/easy-quotes.php 92% from 13 tests
"Easy Quotes" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 169 characters long)
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 plugin24,128 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 22,236 |
PHP | 10 | 254 | 554 | 1,419 |
PO File | 1 | 98 | 102 | 226 |
JavaScript | 5 | 29 | 42 | 224 |
CSS | 3 | 6 | 5 | 23 |
PHP code Passed 2 tests
A brief analysis 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.32 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 98 | |
▷ Static methods | 18 | 18.37% |
▷ Public methods | 76 | 77.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 22.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin