Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.47ms] Passed 4 tests
A check of server-side resources used by Easy share solution
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.90 ▲3.41 |
Dashboard /wp-admin | 3.47 ▲0.16 | 56.76 ▲5.05 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 62.85 ▲10.27 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 87.90 ▼11.83 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.57 ▼2.51 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 10 new options
New WordPress options |
---|
easy_share_theme_rec |
widget_recent-posts |
widget_shares |
widget_theysaidso_widget |
easy_share_solution_settings |
easy_share_solution_other_option |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Easy share solution
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,338 ▲552 | 15.65 ▲1.26 | 12.22 ▲10.31 | 57.26 ▲16.43 |
Dashboard /wp-admin | 2,386 ▲212 | 6.35 ▲0.76 | 120.90 ▲32.75 | 42.70 ▲2.31 |
Posts /wp-admin/edit.php | 2,314 ▲214 | 3.64 ▲1.61 | 58.95 ▲22.10 | 37.01 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,567 ▲39 | 23.24 ▲0.16 | 654.50 ▲31.94 | 36.37 ▼14.08 |
Media Library /wp-admin/upload.php | 1,454 ▲57 | 4.41 ▲0.23 | 90.12 ▼12.12 | 44.72 ▲1.06 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 10 options in the database
- theysaidso_admin_options
- widget_shares
- can_compress_scripts
- db_upgraded
- easy_share_solution_other_option
- easy_share_theme_rec
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- easy_share_solution_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-share-solution/includes/easy-share-solution-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-share-solution/includes/button-share.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-share-solution/admin/src/class.settings-api.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easy-share-solution/admin/easy-share-solution-options.php:512
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
easy-share-solution/easy-share-solution.php Passed 13 tests
Analyzing the main PHP file in "Easy share solution" version 1.0.12
46 characters long description:
A share toolkit that helps you share anything.
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 plugin3,655 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 196 | 330 | 1,563 |
JavaScript | 4 | 189 | 140 | 999 |
CSS | 4 | 32 | 62 | 892 |
PO File | 1 | 65 | 69 | 154 |
SVG | 1 | 0 | 0 | 47 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.76 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
No PNG images were found in this plugin