Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼5.14ms] Passed 4 tests
This is a short check of server-side resources used by Frizzly - Social Share Buttons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 41.82 ▼0.77 |
Dashboard /wp-admin | 3.67 ▲0.36 | 48.59 ▼3.31 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 48.82 ▲1.50 |
Add New Post /wp-admin/post-new.php | 5.80 ▼0.08 | 77.16 ▼17.98 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 39.02 ▲8.38 |
Frizzly /wp-admin/options-general.php?page=frizzly_settings | 3.59 | 37.38 |
Server storage [IO: ▲1.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 78 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
frizzly_version |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Frizzly - Social Share Buttons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,970 ▲235 | 14.09 ▼0.71 | 10.42 ▲8.44 | 38.35 ▼3.68 |
Dashboard /wp-admin | 2,229 ▲41 | 5.88 ▼0.00 | 111.74 ▲3.27 | 45.87 ▲0.08 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.18 ▲0.20 | 43.03 ▲3.22 | 38.49 ▲0.47 |
Add New Post /wp-admin/post-new.php | 6,784 ▲5,242 | 20.57 ▲2.23 | 929.55 ▲315.20 | 59.64 ▲12.06 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.23 ▲0.03 | 95.76 ▼1.15 | 42.08 ▼0.54 |
Frizzly /wp-admin/options-general.php?page=frizzly_settings | 1,798 | 5.09 | 123.09 | 43.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- frizzly_version
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Client_Submodule' not found in wp-content/plugins/frizzly/includes/client/modules/share/Frizzly_Client_General_Submodule.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Admin_Module' not found in wp-content/plugins/frizzly/includes/admin/modules/Frizzly_Admin_Share_Module.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Client_Submodule' not found in wp-content/plugins/frizzly/includes/client/modules/share/Frizzly_Client_Content_Submodule.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Ajax_Handler' not found in wp-content/plugins/frizzly/includes/ajax/Frizzly_Share_By_Email_Ajax_Handler.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Client_Submodule' not found in wp-content/plugins/frizzly/includes/client/modules/share/Frizzly_Client_Image_Submodule.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Options' not found in wp-content/plugins/frizzly/includes/includes/options/Frizzly_Share_Options.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Admin_Button_Settings_Submodule_Base' not found in wp-content/plugins/frizzly/includes/admin/modules/share/Frizzly_Admin_Content_Submodule.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Meta' not found in wp-content/plugins/frizzly/includes/includes/meta/Frizzly_Meta_Social_Data.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Admin_Button_Settings_Submodule_Base' not found in wp-content/plugins/frizzly/includes/admin/modules/share/Frizzly_Admin_Image_Submodule.php:3
- > PHP Fatal error
Uncaught Error: Class 'Frizzly_Admin_Submodule' not found in wp-content/plugins/frizzly/includes/admin/modules/share/Frizzly_Admin_Button_Settings_Submodule_Base.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
frizzly/frizzly.php Passed 13 tests
The principal PHP file in "Frizzly - Social Share Buttons" v. 1.1.0 is loaded by WordPress automatically on each request
55 characters long description:
Great-looking social share icons all over your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin19,623 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 3,551 | 2,231 | 13,625 |
CSS | 5 | 157 | 21 | 3,034 |
PHP | 43 | 438 | 217 | 2,279 |
SVG | 1 | 0 | 0 | 685 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 6 | 14.63% |
▷ Concrete classes | 35 | 85.37% |
▷ Final classes | 1 | 2.86% |
Methods | 192 | |
▷ Static methods | 6 | 3.12% |
▷ Public methods | 159 | 82.81% |
▷ Protected methods | 4 | 2.08% |
▷ Private methods | 29 | 15.10% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Pinterest-badge-36px.png | 1.22KB | 0.58KB | ▼ 52.72% |
images/settings_link.png | 3.63KB | 2.18KB | ▼ 40.06% |
images/settings_tabs.png | 2.04KB | 1.20KB | ▼ 41.45% |