Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.71ms] Passed 4 tests
An overview of server-side resources used by Unofficial - Frill.co SSO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.70 ▼1.17 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.54 ▼2.48 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.17 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.17 ▼16.43 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.27 ▲2.70 |
Frill SSO /wp-admin/options-general.php?page=frill-sso | 3.22 | 33.29 |
Server storage [IO: ▲3.90MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 243 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Unofficial - Frill.co SSO: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.34 ▼0.01 | 1.72 ▲0.11 | 42.16 ▲2.59 |
Dashboard /wp-admin | 2,202 ▲25 | 5.64 ▲0.04 | 92.81 ▼0.34 | 41.12 ▲2.30 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.04 ▲0.09 | 39.25 ▲3.42 | 37.32 ▲6.06 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.21 ▼0.28 | 660.89 ▲24.45 | 52.11 ▼7.50 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▼0.07 | 93.58 ▼6.90 | 42.52 ▼0.59 |
Frill SSO /wp-admin/options-general.php?page=frill-sso | 837 | 1.99 | 25.97 | 32.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 fix the following
- 168× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/unofficial-frill-sso/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\ParagonIE_Sodium_Core_HSalsa20' not found in wp-content/plugins/unofficial-frill-sso/vendor/paragonie/sodium_compat/src/Core/XSalsa20.php:11
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/unofficial-frill-sso/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/unofficial-frill-sso/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/unofficial-frill-sso/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/unofficial-frill-sso/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/unofficial-frill-sso/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/unofficial-frill-sso/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/unofficial-frill-sso/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'unofficial\\frill\\sso\\ParagonIE_Sodium_Core_HChaCha20' not found in wp-content/plugins/unofficial-frill-sso/vendor/paragonie/sodium_compat/src/Core/XChaCha20.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: frill, roadmap, feedback, frillco, changelog
unofficial-frill-sso/unofficial-frill-sso.php Passed 13 tests
This is the main PHP file of "Unofficial - Frill.co SSO" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
92 characters long description:
Unofficial Frill.co SSO plugin, enable SSO (Single-sign-on) login from WordPress to Frill.co
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected19,030 lines of code in 234 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 224 | 520 | 12,295 | 18,451 |
JSON | 3 | 0 | 0 | 480 |
XML | 3 | 14 | 42 | 63 |
YAML | 1 | 2 | 0 | 25 |
Bourne Shell | 2 | 4 | 1 | 8 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 9.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 380.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 199 | |
▷ Abstract classes | 22 | 11.06% |
▷ Concrete classes | 177 | 88.94% |
▷ Final classes | 0 | 0.00% |
Methods | 828 | |
▷ Static methods | 566 | 68.36% |
▷ Public methods | 729 | 88.04% |
▷ Protected methods | 77 | 9.30% |
▷ Private methods | 22 | 2.66% |
Functions | 225 | |
▷ Named functions | 216 | 96.00% |
▷ Anonymous functions | 9 | 4.00% |
Constants | 334 | |
▷ Global constants | 9 | 2.69% |
▷ Class constants | 325 | 97.31% |
▷ Public constants | 325 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 2.53MB with 1.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 742.13KB | 289.30KB | ▼ 61.02% |
screenshot-2.png | 864.50KB | 403.96KB | ▼ 53.27% |
screenshot-3.png | 966.79KB | 433.35KB | ▼ 55.18% |
icon-256x256.png | 11.25KB | 8.62KB | ▼ 23.34% |
icon-128x128.png | 4.00KB | 3.68KB | ▼ 8.13% |