73% jumbo-share

Code Review | Jumbo Share

WordPress plugin Jumbo Share scored73%from 54 tests.

About plugin

  • Plugin page: jumbo-share
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-4.3.1
  • WordPress version: 6.3.1
  • First release: Dec 6, 2015
  • Latest release: Dec 7, 2015
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: WPManiax (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,959 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1435.65 ▼7.52
Dashboard /wp-admin3.50 ▲0.1950.27 ▼0.57
Posts /wp-admin/edit.php3.61 ▲0.2549.70 ▼3.22
Add New Post /wp-admin/post-new.php4.79 ▼1.1044.90 ▼50.40
Media Library /wp-admin/upload.php3.42 ▲0.1938.57 ▲1.93
Jumbo Share /wp-admin/options-general.php?page=jumboshare-settings3.3935.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,888 ▲10213.82 ▼0.538.79 ▲6.5942.04 ▼2.11
Dashboard /wp-admin2,206 ▲325.52 ▼0.3686.97 ▼17.1539.95 ▼5.36
Posts /wp-admin/edit.php2,114 ▲141.96 ▼0.0336.85 ▼3.8134.40 ▼1.57
Add New Post /wp-admin/post-new.php1,536 ▲823.27 ▲0.37680.28 ▲17.2454.24 ▼9.55
Media Library /wp-admin/upload.php1,408 ▲54.20 ▲0.01102.77 ▼3.4144.89 ▼0.08
Jumbo Share /wp-admin/options-general.php?page=jumboshare-settings1,0021.8534.1132.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

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
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP15318774889
SVG100640
CSS58340510
JavaScript495174

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 code0.32
Average class complexity11.33
▷ Minimum class complexity1.00
▷ Maximum class complexity65.00
Average method complexity2.69
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods55
▷ Static methods35.45%
▷ Public methods4785.45%
▷ Protected methods00.00%
▷ Private methods814.55%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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