Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.29MB] [CPU: ▼16.30ms] Passed 4 tests
Analyzing server-side resources used by Jackshare Social Sharing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.07 ▼0.39 | 22.78 ▼16.86 |
Dashboard /wp-admin | 3.48 ▲0.17 | 48.75 ▼3.58 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 49.09 ▼0.23 |
Add New Post /wp-admin/post-new.php | 4.77 ▼1.12 | 48.95 ▼44.52 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.08 ▲2.21 |
Jackshare /wp-admin/options-general.php?page=jackshare | 3.35 | 31.59 |
Server storage [IO: ▲0.17MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jackshare Social Sharing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲22 | 14.24 ▼0.11 | 1.93 ▼0.27 | 47.78 ▼2.00 |
Dashboard /wp-admin | 2,196 ▲25 | 5.55 ▼0.14 | 83.15 ▼7.43 | 39.08 ▼0.35 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▼0.02 | 35.89 ▲0.05 | 39.60 ▲4.00 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 25.31 ▲2.35 | 620.14 ▼51.19 | 48.93 ▼9.69 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.17 ▲0.06 | 101.56 ▼4.78 | 41.70 ▼4.44 |
Jackshare /wp-admin/options-general.php?page=jackshare | 1,078 | 1.99 | 23.07 | 34.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=jackshare
- > Notice in wp-content/plugins/jackshare/inc/class-jackshare-admin-page.php+350
Trying to access array offset on value of type bool
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
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jackshare/index.php
- > /wp-content/plugins/jackshare/uninstall.php
- > /wp-content/plugins/jackshare/jackshare.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in jackshare/assets to your readme.txt
jackshare/jackshare.php Passed 13 tests
"Jackshare Social Sharing" version 2.1.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
93 characters long description:
Super simple Social media sharing buttons with minimal design and lightning fast performance.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,876 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 221 | 92 | 521 |
HTML | 1 | 43 | 4 | 453 |
CSS | 4 | 67 | 18 | 357 |
PO File | 2 | 111 | 113 | 303 |
SVG | 3 | 0 | 6 | 167 |
Sass | 1 | 5 | 0 | 52 |
JavaScript | 1 | 10 | 12 | 22 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin