Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/all-twitter/core_functions.php+44
require(wp-content/plugins/all-twitter/public/classes/class-SMUZSF-public.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.49ms] Passed 4 tests
Server-side resources used by Twitter Feed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.82 ▼1.18 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.48 ▼4.24 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.08 ▼3.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.53 ▲10.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.18 ▲2.56 |
Server storage [IO: ▲2.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
SMUZSFTW_plugin_version |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Twitter Feed: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.14 ▼1.23 | 1.79 ▼0.03 | 41.07 ▼4.06 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼0.03 | 111.68 ▲5.17 | 40.71 ▲1.06 |
Posts /wp-admin/edit.php | 2,089 ▲21 | 2.05 ▼0.00 | 40.31 ▲2.33 | 35.88 ▲4.15 |
Add New Post /wp-admin/post-new.php | 1,539 ▼3 | 23.28 ▲4.95 | 623.10 ▲6.09 | 44.05 ▼17.67 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.26 ▲0.05 | 93.91 ▼5.94 | 42.04 ▼2.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- SMUZSFTW_plugin_version
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Twitter feed demo stream.), #2 (Twitter feed demo stream.), #3 (Twitter feed demo stream.), #4 (Twitter feed demo stream.)
all-twitter/plugin.php 92% from 13 tests
The primary PHP file in "Twitter Feed" version 1.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("all-twitter.php" instead of "plugin.php")
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
Everything looks great! No dangerous files found in this plugin6,071 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 584 | 84 | 3,034 |
JavaScript | 2 | 361 | 474 | 2,380 |
SVG | 1 | 0 | 0 | 655 |
CSS | 1 | 1 | 3 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 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
27 PNG files occupy 1.52MB with 0.98MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/ui/images/Wordpress.png | 2.54KB | 1.68KB | ▼ 33.84% |
admin/ui/images/twitter-ribbon.png | 15.60KB | 6.34KB | ▼ 59.38% |
admin/ui/images/layout3.png | 117.39KB | 31.98KB | ▼ 72.75% |
admin/ui/images/fb-ribbon.png | 27.42KB | 5.20KB | ▼ 81.05% |
admin/ui/images/layout1.png | 102.50KB | 25.44KB | ▼ 75.18% |