Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼33.99ms] Passed 4 tests
Server-side resources used by fShare
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 39.86 ▼1.97 |
Dashboard /wp-admin | 2.99 ▼0.31 | 22.27 ▼27.95 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 22.01 ▼25.65 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 23.05 ▼69.90 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 20.56 ▼12.47 |
fShare /wp-admin/options-general.php?page=fshare_einstellungen | 3.00 | 22.06 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for fShare
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.33 ▼1.07 | 1.67 ▼0.21 | 41.94 ▼9.78 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼1.01 | 109.35 ▲4.10 | 42.29 ▼0.43 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.00 | 39.07 ▲3.15 | 35.06 ▲2.33 |
Add New Post /wp-admin/post-new.php | 1,545 ▲15 | 18.58 ▲0.41 | 586.54 ▼36.88 | 47.86 ▼7.32 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.19 ▲0.01 | 99.81 ▲1.53 | 43.96 ▼1.24 |
fShare /wp-admin/options-general.php?page=fshare_einstellungen | 1,090 | 2.06 | 28.85 | 31.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+234
Undefined variable: checked_fs_single_posts
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+241
Undefined variable: checked_fs_single_pages
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+278
Undefined variable: checked_fs_facebook_share
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+285
Undefined variable: checked_fs_twitter_share
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+292
Undefined variable: checked_fs_xing_share
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+299
Undefined variable: checked_fs_pinterest_share
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+306
Undefined variable: checked_fs_pocket_share
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+313
Undefined variable: checked_fs_feedly_share
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+320
Undefined variable: checked_fs_whatsapp_share
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+343
Undefined variable: checked_fs_active_align
- > GET request to /wp-admin/options-general.php?page=fshare_einstellungen
- > Notice in wp-content/plugins/fshare/fshare.php+386
Undefined variable: checked_fs_deactivate_supportlink
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fshare/fshare.php:14
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (screenshot-1.jpg) image not found
fshare/fshare.php 92% from 13 tests
The main file in "fShare" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 171 characters long)
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
Everything looks great! No dangerous files found in this plugin450 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 44 | 10 | 353 |
PO File | 1 | 53 | 70 | 88 |
CSS | 1 | 0 | 0 | 9 |
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.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin