Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.14MB] [CPU: ▼15.43ms] Passed 4 tests
Analyzing server-side resources used by Jumbo Share
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 35.65 ▼7.52 |
Dashboard /wp-admin | 3.50 ▲0.19 | 50.27 ▼0.57 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 49.70 ▼3.22 |
Add New Post /wp-admin/post-new.php | 4.79 ▼1.10 | 44.90 ▼50.40 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 38.57 ▲1.93 |
Jumbo Share /wp-admin/options-general.php?page=jumboshare-settings | 3.39 | 35.03 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jumbo Share
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲102 | 13.82 ▼0.53 | 8.79 ▲6.59 | 42.04 ▼2.11 |
Dashboard /wp-admin | 2,206 ▲32 | 5.52 ▼0.36 | 86.97 ▼17.15 | 39.95 ▼5.36 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 1.96 ▼0.03 | 36.85 ▼3.81 | 34.40 ▼1.57 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.27 ▲0.37 | 680.28 ▲17.24 | 54.24 ▼9.55 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.20 ▲0.01 | 102.77 ▼3.41 | 44.89 ▼0.08 |
Jumbo Share /wp-admin/options-general.php?page=jumboshare-settings | 1,002 | 1.85 | 34.11 | 32.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/jumbo-share/public/partials/jumbo-share-public-display.php
- > /wp-content/plugins/jumbo-share/admin/partials/jumbo-share-admin-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jumbo-share/admin/settings/settings.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=jumboshare-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,farbtastic&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=jumboshare-settings:157:54)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,farbtastic&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,farbtastic&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=jumboshare-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,farbtastic&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 55 tag instead of maximum 10
jumbo-share/jumbo-share.php Passed 13 tests
Analyzing the main PHP file in "Jumbo Share" version 1.0.0
57 characters long description:
Adds Mashable.com like social share bar to your web site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,113 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 318 | 774 | 889 |
SVG | 1 | 0 | 0 | 640 |
CSS | 5 | 83 | 40 | 510 |
JavaScript | 4 | 9 | 51 | 74 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 3 | 5.45% |
▷ Public methods | 47 | 85.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 14.55% |
Functions | 7 | |
▷ Named functions | 7 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin