Benchmarks
Plugin footprint 83% 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.14MB] [CPU: ▼4.95ms] Passed 4 tests
A check of server-side resources used by Upvote / Downvote - Vote with a Tweet
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 40.55 ▼2.87 |
Dashboard /wp-admin | 3.44 ▲0.14 | 48.37 ▼2.99 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 45.67 ▲0.44 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 84.07 ▼14.36 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.32 ▲2.06 |
Upvote / Downvote /wp-admin/options-general.php?page=udv-uidMenuOptions | 3.38 | 33.53 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_udv_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Upvote / Downvote - Vote with a Tweet
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.74 ▲0.36 | 1.86 ▼0.06 | 42.86 ▼1.32 |
Dashboard /wp-admin | 2,207 ▲18 | 4.90 ▼0.05 | 113.44 ▲7.18 | 42.14 ▼4.35 |
Posts /wp-admin/edit.php | 2,093 ▲25 | 1.99 ▼0.00 | 34.28 ▲0.25 | 31.20 ▼0.41 |
Add New Post /wp-admin/post-new.php | 6,564 ▲5,045 | 23.17 ▼0.00 | 866.25 ▲261.99 | 77.86 ▲16.22 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.34 ▲0.13 | 95.30 ▼1.88 | 43.50 ▲1.49 |
Upvote / Downvote /wp-admin/options-general.php?page=udv-uidMenuOptions | 1,441 | 1.71 | 24.27 | 31.82 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_udv_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/upvote-downvote-vote-with-a-tweet/udvote.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
upvote-downvote-vote-with-a-tweet/udvote.php 92% from 13 tests
The entry point to "Upvote / Downvote - Vote with a Tweet" version 1.4.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("upvote-downvote-vote-with-a-tweet.php" instead of "udvote.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin878 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 227 | 486 | 855 |
XML | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 48 | |
▷ Named functions | 48 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ud1-165x200.png | 42.73KB | 11.31KB | ▼ 73.52% |