Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.46ms] Passed 4 tests
This is a short check of server-side resources used by QuickPick
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.39 ▼1.39 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.48 ▼2.90 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.84 ▲2.64 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 79.86 ▼8.01 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.64 ▲2.47 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for QuickPick
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.14 ▼0.21 | 1.76 ▲0.08 | 43.94 ▲0.90 |
Dashboard /wp-admin | 2,197 ▲17 | 5.52 ▼0.05 | 85.18 ▼14.61 | 37.36 ▼9.43 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 1.98 ▼0.04 | 33.48 ▼2.10 | 33.59 ▼4.39 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 18.35 ▼4.79 | 648.19 ▼27.32 | 70.03 ▲19.07 |
Media Library /wp-admin/upload.php | 1,399 ▼1 | 4.19 ▲0.02 | 100.36 ▲1.29 | 45.23 ▲1.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Posts list with the quickpick button), #2 (Pages list with the quickpick button)
quickpick/quickpick.php Passed 13 tests
Analyzing the main PHP file in "QuickPick" version 1.0.1
108 characters long description:
QuickPick is a tiny WordPress plugin that will help you to save time on finding just recently editing posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected207 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 55 | 88 | 206 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.39MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 102.89KB | 30.72KB | ▼ 70.14% |
screenshot-2.png | 95.71KB | 28.83KB | ▼ 69.87% |
Screenshot-1.png | 102.89KB | 30.72KB | ▼ 70.14% |
assets/images/quickpick.png | 1.64KB | 0.53KB | ▼ 67.42% |
Screenshot-2.png | 95.71KB | 28.83KB | ▼ 69.87% |