Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.93MB] [CPU: ▼44.63ms] Passed 4 tests
Server-side resources used by Społecznościowa 6 PL 2013
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.19 ▼0.18 |
Dashboard /wp-admin | 3.02 ▼0.32 | 20.04 ▼41.51 |
Posts /wp-admin/edit.php | 3.02 ▼0.33 | 23.31 ▼26.73 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.86 | 19.60 ▼93.85 |
Media Library /wp-admin/upload.php | 3.02 ▼0.20 | 21.31 ▼16.42 |
Społecznościowa 6 PL /wp-admin/options-general.php?page=spolecznosciowa-6-pl | 3.02 | 19.03 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 12 new options
New WordPress options |
---|
wkomsp_facebook |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
wkomsp_beforepost |
widget_recent-posts |
wkomsp_twitter |
wkomsp_google |
wkomsp_nk |
wkomsp_wykop |
... |
Browser metrics Passed 4 tests
Społecznościowa 6 PL 2013: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.29 ▼0.74 | 1.73 ▲0.18 | 38.18 ▼1.15 |
Dashboard /wp-admin | 2,210 ▲19 | 4.87 ▼0.01 | 115.54 ▲6.41 | 41.85 ▼1.25 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.98 ▼0.06 | 38.50 ▼1.09 | 35.28 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.26 ▲0.04 | 668.44 ▲19.54 | 52.34 ▼8.17 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.19 ▼0.01 | 102.20 ▼3.55 | 40.02 ▼5.14 |
Społecznościowa 6 PL /wp-admin/options-general.php?page=spolecznosciowa-6-pl | 1,074 | 3.76 | 59.98 | 52.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=spolecznosciowa-6-pl
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=spolecznosciowa-6-pl
- > Notice in wp-content/plugins/spolecznosciowa-6-pl-2013/wkomsp-admin.php+27
Constant wkom_folder already defined
- > GET request to /wp-admin/options-general.php?page=spolecznosciowa-6-pl
- > Notice in wp-content/plugins/spolecznosciowa-6-pl-2013/wkomsp-admin.php+30
Undefined index: hiddenconfirm
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/spolecznosciowa-6-pl-2013/spolecznosciowa-6-pl-2013.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/spolecznosciowa-6-pl-2013/wkomsp-admin.php:27
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/spolecznosciowa-6-pl-2013/spolecznosciowa-6-pl-2013.php on line 17
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/spolecznosciowa-6-pl-2013/wkomsp-admin.php on line 27
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=spolecznosciowa-6-pl
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=spolecznosciowa-6-pl
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
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: There are too many tags (13 tag instead of maximum 10)
spolecznosciowa-6-pl-2013/spolecznosciowa-6-pl-2013.php Passed 13 tests
The main file in "Społecznościowa 6 PL 2013" v. 2.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
135 characters long description:
Najszybsza i najmniej obciążająca wtyczka społecznościowa zawierająca serwisy: Facebook, Twitter, Google+, Wykop i Naszą Klasę.
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 detected313 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 107 | 47 | 313 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
7 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ikony/blip24.png | 1.34KB | 1.38KB | 0.00% |
ikony/google24.png | 1.18KB | 1.40KB | 0.00% |
ikony/facebook24.png | 0.96KB | 1.19KB | 0.00% |
ikony/un1.png | 1.29KB | 1.38KB | 0.00% |
ikony/wykop24.png | 1.37KB | 1.35KB | ▼ 1.43% |