Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼9.52ms] Passed 4 tests
An overview of server-side resources used by Advanced Social Feeds Widget & Shortcode
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.16 | 40.43 ▼7.58 |
Dashboard /wp-admin | 3.45 ▲0.10 | 51.65 ▼25.16 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.78 ▼1.81 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 94.20 ▼3.53 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 41.36 ▲4.78 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_fbtw_facebook |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_fbtw_tweets |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Social Feeds Widget & Shortcode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲123 | 13.81 ▼0.56 | 8.54 ▲6.42 | 41.50 ▼6.84 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▼0.05 | 90.51 ▼13.65 | 39.03 ▼3.09 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.04 | 40.07 ▲2.30 | 34.46 ▼2.73 |
Add New Post /wp-admin/post-new.php | 1,531 ▼5 | 23.07 ▼0.06 | 690.68 ▲12.00 | 53.62 ▼2.19 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▼0.09 | 110.68 ▲4.15 | 47.14 ▲1.61 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_fbtw_facebook
- widget_fbtw_tweets
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (See screenshot-1.png - Shows facebook page like widget settings), #2 (See screenshot-2.png - Shows twitter follow button and timeline settings), #3 (See screenshot-3.png - Shows how facebook page like and timeline will be showing at sidebar), #4 (See screenshot-4.png - Shows how twitter follow button and timeline will be showing at sidebar)
advanced-facebook-twitter-widget/index.php 85% from 13 tests
The main file in "Advanced Social Feeds Widget & Shortcode" v. 1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("advanced-facebook-twitter-widget.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 212 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin597 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 86 | 70 | 486 |
JSON | 1 | 0 | 0 | 86 |
JavaScript | 1 | 3 | 6 | 25 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 6.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.39MB with 0.27MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 176.53KB | 52.31KB | ▼ 70.37% |
screenshot-2.png | 45.33KB | 14.03KB | ▼ 69.04% |
screenshot-1.png | 60.59KB | 18.33KB | ▼ 69.75% |
screenshot-4.png | 118.11KB | 36.67KB | ▼ 68.96% |