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.08MB] [CPU: ▼3.56ms] Passed 4 tests
Analyzing server-side resources used by Responsive Twitter Feeds
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 45.25 ▲2.81 |
Dashboard /wp-admin | 3.40 ▲0.05 | 46.92 ▼18.77 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.25 ▲0.75 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 102.85 ▲7.67 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.20 ▲0.98 |
Twitter Settings /wp-admin/options-general.php?page=muts_settings-admin | 3.29 | 37.16 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Twitter Feeds
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.36 ▲0.01 | 1.63 ▼0.08 | 38.79 ▼4.81 |
Dashboard /wp-admin | 2,199 ▲25 | 5.61 ▲0.05 | 91.81 ▼7.53 | 37.61 ▼5.20 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.97 ▼0.00 | 39.84 ▲3.11 | 36.12 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.21 ▲0.25 | 674.57 ▼17.88 | 54.64 ▼1.48 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▼0.03 | 99.49 ▼6.51 | 43.23 ▼3.79 |
Twitter Settings /wp-admin/options-general.php?page=muts_settings-admin | 849 | 1.99 | 27.06 | 28.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-twitter-feeds/muaw-twitter-feeds.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (screenshot-1.png)
responsive-twitter-feeds/muaw-twitter-feeds.php 85% from 13 tests
The principal PHP file in "Responsive Twitter Feeds" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("responsive-twitter-feeds.php" instead of "muaw-twitter-feeds.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
Good job! No executable or dangerous file extensions detected539 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 70 | 181 | 481 |
CSS | 1 | 0 | 1 | 58 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 46.03KB | 19.20KB | ▼ 58.28% |
twbird.png | 2.82KB | 1.92KB | ▼ 31.94% |
screenshot-2.png | 38.07KB | 17.29KB | ▼ 54.58% |