Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.48MB] [CPU: ▲14.38ms] Passed 4 tests
A check of server-side resources used by Schedule Tweets - TweetBoost Free
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.87 ▲3.41 | 75.47 ▲29.51 |
Dashboard /wp-admin | 6.94 ▲3.60 | 69.86 ▲4.07 |
Posts /wp-admin/edit.php | 6.98 ▲3.63 | 66.25 ▲19.17 |
Add New Post /wp-admin/post-new.php | 9.16 ▲3.27 | 109.21 ▲4.78 |
Media Library /wp-admin/upload.php | 6.92 ▲3.69 | 66.13 ▲31.52 |
Server storage [IO: ▲10.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 339 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
acf_version |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Schedule Tweets - TweetBoost Free
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,247 ▲501 | 15.35 ▲0.97 | 12.81 ▲11.09 | 31.87 ▼13.74 |
Dashboard /wp-admin | 2,686 ▲498 | 7.55 ▲1.71 | 187.88 ▲82.61 | 52.23 ▲12.37 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.06 ▲0.08 | 45.41 ▲3.97 | 35.65 ▼2.42 |
Add New Post /wp-admin/post-new.php | 7,102 ▲5,574 | 28.68 ▲10.46 | 1,074.45 ▲408.97 | 82.95 ▲21.40 |
Media Library /wp-admin/upload.php | 1,959 ▲571 | 8.23 ▲4.03 | 202.82 ▲75.77 | 46.74 ▼3.53 |
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 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- acf_version
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 87× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tweetboost/classes/class.acf-ini.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/tweetboost/assets/plugins/acf/includes/api/api-helpers.php:114
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/tweetboost/assets/plugins/acf/includes/fields/class-acf-field-google-map.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/tweetboost/assets/plugins/acf/includes/fields/class-acf-field-link.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tweetboost/assets/plugins/acf/includes/forms/form-user.php:36
- > PHP Notice
Undefined index: menu_order in wp-content/plugins/tweetboost/assets/plugins/acf/includes/admin/views/field-group-field.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/tweetboost/assets/plugins/acf/includes/fields/class-acf-field-taxonomy.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/tweetboost/assets/plugins/acf/includes/admin/views/field-group-field.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tweetboost/assets/plugins/acf/includes/api/api-template.php:960
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/tweetboost/assets/plugins/acf/includes/fields/class-acf-field-image.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (This Tweet Has Been Scheduled!), #2 (Creating Tweets (Explained)), #3 (Dashboard Widgets (Explained)), #4 (Our Calendar Widget (Explained))
- Donate link: Invalid URI found ("mailto:mbissettonline@gmail.com")
tweetboost/tweet-boost.php 85% from 13 tests
The primary PHP file in "Schedule Tweets - TweetBoost Free" version 1.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tweetboost.php" instead of "tweet-boost.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected102,790 lines of code in 255 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 28 | 20,652 | 33,144 | 43,842 |
JavaScript | 56 | 16,042 | 12,801 | 27,909 |
PHP | 131 | 15,139 | 18,641 | 18,249 |
CSS | 19 | 462 | 1,004 | 7,196 |
LESS | 4 | 1,482 | 778 | 3,784 |
Markdown | 9 | 313 | 0 | 797 |
SVG | 2 | 18 | 0 | 715 |
JSON | 2 | 0 | 0 | 150 |
Ant | 1 | 15 | 0 | 100 |
XML | 2 | 5 | 0 | 43 |
TypeScript | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 190.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 110 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 110 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 800 | |
▷ Static methods | 60 | 7.50% |
▷ Public methods | 749 | 93.62% |
▷ Protected methods | 50 | 6.25% |
▷ Private methods | 1 | 0.12% |
Functions | 347 | |
▷ Named functions | 346 | 99.71% |
▷ Anonymous functions | 1 | 0.29% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 0.88MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/plugins/acf/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
assets/plugins/acf/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
screenshot-1.png | 59.03KB | 24.02KB | ▼ 59.30% |
screenshot-2.png | 187.48KB | 71.24KB | ▼ 62.00% |
assets/plugins/acf/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |