Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.36ms] Passed 4 tests
A check of server-side resources used by Quotable Tweets by DraftPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.48 ▼3.65 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.59 ▼9.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.31 ▼2.81 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.67 ▼17.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.58 ▲1.27 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
widget_quotable_tweets |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Quotable Tweets by DraftPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.27 ▼1.09 | 1.87 ▼0.20 | 41.35 ▼3.09 |
Dashboard /wp-admin | 2,212 ▲9 | 4.83 ▼0.08 | 104.65 ▼17.17 | 38.17 ▼11.84 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.02 | 35.10 ▼7.69 | 36.27 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,559 ▲14 | 18.16 ▼4.97 | 645.03 ▼50.09 | 94.65 ▲27.00 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.27 ▲0.07 | 100.00 ▼5.26 | 43.85 ▼4.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_quotable_tweets
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Donate link: Invalid URI found ("")
quotable-tweets/quotable-tweets.php Passed 13 tests
The main PHP script in "Quotable Tweets by DraftPress" version 1.1.7 is automatically included on every request by WordPress
106 characters long description:
The Quotable Tweets plugin gives you an easy way to add a beautiful actionable tweet link to your sidebar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected214 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 92 | 122 |
CSS | 1 | 12 | 0 | 89 |
Markdown | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 6 | |
▷ Static methods | 2 | 33.33% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 1.11MB with 0.59MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 38.32KB | 11.20KB | ▼ 70.78% |
twitter-icon.png | 12.08KB | 5.28KB | ▼ 56.29% |
assets/banner-1544x500.png | 781.97KB | 667.78KB | ▼ 14.60% |
assets/icon-128x128.png | 9.82KB | 4.07KB | ▼ 58.53% |
assets/screenshot-2.png | 99.56KB | 31.96KB | ▼ 67.90% |