Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.70ms] Passed 4 tests
A check of server-side resources used by Twittee Text Tweet
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.85 ▲0.63 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.62 ▼5.80 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.94 ▼7.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.17 ▼17.77 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.68 ▲2.60 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Twittee Text Tweet
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲105 | 13.48 ▼0.78 | 8.24 ▲6.38 | 41.34 ▲1.34 |
Dashboard /wp-admin | 2,210 ▲36 | 5.51 ▼0.03 | 84.16 ▼6.22 | 73.71 ▲34.72 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.97 ▼0.04 | 35.41 ▼5.20 | 34.55 ▼3.47 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 22.88 ▼0.20 | 663.31 ▲28.27 | 182.23 ▲116.75 |
Media Library /wp-admin/upload.php | 1,418 ▲15 | 4.24 ▲0.00 | 100.05 ▲1.75 | 64.23 ▲23.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/twittee-text-tweet/ttt-twittee-text-tweet.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% 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:
- Plugin Name: Please specify the plugin name on the first line (
=== twittee-text-tweet ===
)
twittee-text-tweet/ttt-twittee-text-tweet.php 85% from 13 tests
Analyzing the main PHP file in "Twittee Text Tweet" version 1.0.8
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("twittee-text-tweet.php" instead of "ttt-twittee-text-tweet.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 154 characters long)
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
There were no executable files found in this plugin600 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 40 | 363 |
CSS | 1 | 35 | 18 | 110 |
PO File | 1 | 35 | 35 | 87 |
JavaScript | 2 | 23 | 23 | 40 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.63MB with 0.28MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ttt_twittee_text_tweet_logo_miniature.png | 50.37KB | 5.13KB | ▼ 89.81% |
images/ttt_twitter_favicon.png | 0.67KB | 0.95KB | 0.00% |
images/ttt_twittee_text_tweet_logo.png | 590.10KB | 51.82KB | ▼ 91.22% |
images/ttt_twitter_balloon.png | 1.14KB | 1.36KB | 0.00% |