Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.01ms] Passed 4 tests
Server-side resources used by Social Feeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 34.96 ▼6.53 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.83 ▲1.78 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.52 ▼5.09 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.15 ▲1.79 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.82 ▲8.75 |
FBTW Feeds /wp-admin/options-general.php?page=facebook_twitter_feeds_options | 3.21 | 29.85 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Feeds
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲102 | 13.88 ▼0.64 | 11.26 ▲9.16 | 41.80 ▼0.84 |
Dashboard /wp-admin | 2,206 ▲26 | 5.66 ▲0.14 | 91.49 ▼0.29 | 41.05 ▼0.30 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.04 ▲0.02 | 36.65 ▼4.13 | 33.66 ▼6.01 |
Add New Post /wp-admin/post-new.php | 1,533 ▼4 | 23.17 ▲4.92 | 624.07 ▲14.83 | 71.40 ▲8.05 |
Media Library /wp-admin/upload.php | 1,405 ▲11 | 4.28 ▲0.08 | 100.08 ▲0.02 | 42.18 ▼3.36 |
FBTW Feeds /wp-admin/options-general.php?page=facebook_twitter_feeds_options | 1,417 | 2.05 | 23.51 | 31.36 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=facebook_twitter_feeds_options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=facebook_twitter_feeds_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 92 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=facebook_twitter_feeds_options
- > Notice in wp-content/plugins/fbtw-feeds/admin-settings.php+512
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (See screenshot-1.png - Shows how your plugin will display in frontend.), #2 (See screenshot-2.png - Explain admin settings page.), #3 (See screenshot-3.png - Shows facebook timeline.), #4 (See screenshot-4.png - Shows twitter follow button and feeds.)
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
fbtw-feeds/index.php 85% from 13 tests
This is the main PHP file of "Social Feeds" version 1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 183 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("fbtw-feeds.php" instead of "index.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
Everything looks great! No dangerous files found in this plugin653 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 110 | 120 | 440 |
JSON | 1 | 0 | 0 | 86 |
JavaScript | 2 | 10 | 12 | 65 |
CSS | 2 | 0 | 10 | 62 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.75MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 95.93KB | 26.27KB | ▼ 72.61% |
images/icon-tw.png | 0.74KB | 0.72KB | ▼ 1.99% |
screenshot-1.png | 229.00KB | 82.07KB | ▼ 64.16% |
images/icon-fb.png | 0.58KB | 0.51KB | ▼ 12.58% |
screenshot-4.png | 195.74KB | 65.06KB | ▼ 66.76% |