Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲2.25ms] Passed 4 tests
An overview of server-side resources used by LS Social Feed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 53.07 ▲11.04 |
Dashboard /wp-admin | 3.88 ▲0.58 | 52.41 ▲3.03 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 47.95 ▼0.84 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.51 | 94.09 ▲3.00 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 38.03 ▲3.79 |
LS Social Feed /wp-admin/options-general.php?page=options-general.php_ls_social_feed | 3.72 | 35.98 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for LS Social Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.84 ▲0.46 | 1.88 ▼0.16 | 42.52 ▼2.09 |
Dashboard /wp-admin | 2,210 ▲21 | 4.83 ▼0.10 | 100.19 ▼25.16 | 41.40 ▼5.20 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.04 | 33.81 ▼2.79 | 32.61 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.04 ▼5.28 | 601.14 ▼69.52 | 51.20 ▼3.35 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.02 | 95.18 ▼5.96 | 40.79 ▼1.82 |
LS Social Feed /wp-admin/options-general.php?page=options-general.php_ls_social_feed | 2,423 | 2.41 | 50.52 | 66.81 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ls-social-feed/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ls-social-feed/ls-social-feed.php:46
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=options-general.php_ls_social_feed
- > Console-api (warning) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at apc_init (/wp-content/plugins/ls-social-feed/admin-page-class/js/Admin_Page_Class.js:49:22)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ls-social-feed/admin-page-class/js/Admin_Page_Class.js:20:3)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26990)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=options-general.php_ls_social_feed
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28721 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/options-general.php?page=options-general.php_ls_social_feed
- > Network (severe)
https://button.flattr.com/flattr-badge-large.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: template, aggregate, facebook, full control, google...
ls-social-feed/ls-social-feed.php 92% from 13 tests
"LS Social Feed" version 0.6.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 151 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin11,845 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 803 | 895 | 6,874 |
PHP | 3 | 454 | 1,428 | 2,343 |
CSS | 9 | 282 | 249 | 1,848 |
PO File | 5 | 317 | 441 | 759 |
HTML | 2 | 0 | 0 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 210.50 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 378.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 138 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 134 | 97.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 2.90% |
Functions | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
22 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin-page-class/css/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin-page-class/css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
admin-page-class/css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin-page-class/css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin-page-class/js/select2/select2x2.png | 0.83KB | 0.77KB | ▼ 6.15% |