Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▲5.22MB] [CPU: ▼20.47ms] 75% from 4 tests
This is a short check of server-side resources used by Floating Social Share Icons and Social Share buttons - Next Previous Post Links - FL
Please take the time to fix the following items
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.22MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.21 ▲5.74 | 34.17 ▼3.31 |
Dashboard /wp-admin | 9.23 ▲5.92 | 35.84 ▼12.69 |
Posts /wp-admin/edit.php | 9.23 ▲5.87 | 34.86 ▼12.74 |
Add New Post /wp-admin/post-new.php | 9.23 ▲3.34 | 38.60 ▼53.13 |
Media Library /wp-admin/upload.php | 9.23 ▲6.00 | 41.22 ▲7.88 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.23 | 33.10 |
Server storage [IO: ▲5.27MB] [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: 232 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
fs_debug_mode |
fs_accounts |
can_compress_scripts |
fl_settings |
db_upgraded |
fs_active_plugins |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Floating Social Share Icons and Social Share buttons - Next Previous Post Links - FL
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,046 ▲285 | 13.46 ▼0.78 | 10.38 ▲8.71 | 32.42 ▼10.42 |
Dashboard /wp-admin | 2,230 ▲50 | 5.62 ▼0.02 | 82.09 ▼4.42 | 79.98 ▲36.13 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 1.96 ▼0.01 | 37.94 ▼1.89 | 36.96 ▲3.03 |
Add New Post /wp-admin/post-new.php | 1,707 ▲172 | 24.13 ▲6.02 | 673.72 ▲73.24 | 57.65 ▼7.93 |
Media Library /wp-admin/upload.php | 1,426 ▲23 | 4.21 ▼0.01 | 100.92 ▲7.10 | 75.04 ▲31.23 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,100 | 1.68 | 26.01 | 36.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- fl_settings
- fs_accounts
- fs_debug_mode
- fs_active_plugins
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=freemius
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
SRP Passed 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
The SRP test was a success
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: next previous post links, sharing icons pagination, sharing, social
floating-links/floating-links.php Passed 13 tests
This is the main PHP file of "Floating Social Share Icons and Social Share buttons - Next Previous Post Links - FL" version 3.6.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
127 characters long description:
Displays fancy floating top, bottom, next post, previous post, random post links and Pagination with custom post types support.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected41,879 lines of code in 161 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 129 | 8,298 | 17,521 | 35,766 |
Sass | 4 | 91 | 0 | 3,106 |
JavaScript | 7 | 320 | 176 | 1,422 |
PO File | 2 | 324 | 396 | 864 |
SVG | 1 | 0 | 0 | 685 |
CSS | 18 | 0 | 18 | 36 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 86.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 2 | 3.70% |
▷ Concrete classes | 52 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,294 | |
▷ Static methods | 197 | 15.22% |
▷ Public methods | 904 | 69.86% |
▷ Protected methods | 17 | 1.31% |
▷ Private methods | 373 | 28.83% |
Functions | 106 | |
▷ Named functions | 106 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 149 | |
▷ Global constants | 102 | 68.46% |
▷ Class constants | 47 | 31.54% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
admin/assets/images/plugin-icon.png | 0.97KB | 0.88KB | ▼ 9.54% |
admin/assets/images/plugin-logo.png | 13.11KB | 5.80KB | ▼ 55.75% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |