Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.56MB] [CPU: ▼0.90ms] Passed 4 tests
A check of server-side resources used by skautIS integrace
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.00 ▲1.54 | 51.64 ▲3.39 |
Dashboard /wp-admin | 4.88 ▲1.53 | 58.76 ▼5.88 |
Posts /wp-admin/edit.php | 4.99 ▲1.63 | 57.62 ▲1.03 |
Add New Post /wp-admin/post-new.php | 7.48 ▲1.59 | 103.17 ▼2.14 |
Media Library /wp-admin/upload.php | 4.80 ▲1.57 | 48.34 ▲10.38 |
Přihlašování /wp-admin/admin.php?page=skautis-integration_login | 4.77 | 39.16 |
Moduly /wp-admin/admin.php?page=skautis-integration_modules | 4.77 | 39.89 |
Správa pravidel /wp-admin/edit.php?post_type=skautis_rules | 4.84 | 42.47 |
Správa uživatelů /wp-admin/admin.php?page=skautis-integration_usersManagement | 4.77 | 41.26 |
Obecné /wp-admin/admin.php?page=skautis-integration | 4.77 | 39.29 |
Server storage [IO: ▲1.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 129 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for skautIS integrace
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 13.34 ▼1.02 | 1.92 ▲0.05 | 43.26 ▼2.19 |
Dashboard /wp-admin | 2,254 ▲68 | 5.08 ▲0.07 | 106.59 ▼9.53 | 83.19 ▲37.39 |
Posts /wp-admin/edit.php | 2,152 ▲60 | 2.29 ▲0.26 | 33.03 ▼19.10 | 34.21 ▼4.72 |
Add New Post /wp-admin/post-new.php | 1,577 ▲58 | 23.49 ▲0.45 | 739.07 ▲80.04 | 46.55 ▼20.24 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.42 ▲0.16 | 99.90 ▼6.38 | 74.47 ▲27.31 |
Přihlašování /wp-admin/admin.php?page=skautis-integration_login | 888 | 1.83 | 28.12 | 33.46 |
Moduly /wp-admin/admin.php?page=skautis-integration_modules | 870 | 1.93 | 25.74 | 28.96 |
Správa pravidel /wp-admin/edit.php?post_type=skautis_rules | 1,151 | 2.22 | 35.97 | 30.42 |
Správa uživatelů /wp-admin/admin.php?page=skautis-integration_usersManagement | 861 | 2.33 | 38.67 | 28.31 |
Obecné /wp-admin/admin.php?page=skautis-integration | 889 | 1.92 | 27.03 | 29.74 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/skautis-integration/uninstall.php
- 25× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Skautis_Integration\\Vendor\\Skautis\\Wsdl\\WebServiceFactoryInterface' not found in wp-content/plugins/skautis-integration/vendor/skautis/skautis/src/Wsdl/WebServiceFactory.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Skautis_Integration\\Modules\\Module' not found in wp-content/plugins/skautis-integration/src/modules/Visibility/class-visibility.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Skautis_Integration\\Vendor\\Skautis\\Exception' not found in wp-content/plugins/skautis-integration/vendor/skautis/skautis/src/StaticClassException.php:10
- > PHP Fatal error
Uncaught Error: Class 'Skautis_Integration\\Vendor\\Skautis\\Wsdl\\WsdlException' not found in wp-content/plugins/skautis-integration/vendor/skautis/skautis/src/Wsdl/PermissionException.php:10
- > PHP Fatal error
Trait 'Skautis_Integration\\Vendor\\Skautis\\HelperTrait' not found in wp-content/plugins/skautis-integration/vendor/skautis/skautis/src/Skautis.php on line 15
- > PHP Fatal error
Uncaught Error: Interface 'Skautis_Integration\\Vendor\\Skautis\\Wsdl\\WebServiceInterface' not found in wp-content/plugins/skautis-integration/vendor/skautis/skautis/src/Wsdl/Decorator/AbstractDecorator.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Skautis_Integration\\Vendor\\Skautis\\Exception' not found in wp-content/plugins/skautis-integration/vendor/skautis/skautis/src/Wsdl/WsdlException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Skautis_Integration\\Rules\\Rule' not found in wp-content/plugins/skautis-integration/src/rules/Rule/class-all.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Skautis_Integration\\Vendor\\Skautis\\SessionAdapter\\AdapterInterface' not found in wp-content/plugins/skautis-integration/src/auth/class-transient-session-adapter.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Skautis_Integration\\Rules\\Rule' not found in wp-content/plugins/skautis-integration/src/rules/Rule/class-membership.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: plugin, multisite, skautis, skaut, shortcode...
skautis-integration/skautis-integration.php Passed 13 tests
The main PHP script in "skautIS integrace" version 1.1.28 is automatically included on every request by WordPress
33 characters long description:
Integrace WordPressu se skautISem
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin9,557 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 88 | 1,214 | 4,366 | 6,449 |
SVG | 1 | 0 | 0 | 2,671 |
JSON | 1 | 0 | 0 | 234 |
JavaScript | 15 | 4 | 29 | 193 |
CSS | 10 | 0 | 8 | 10 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 29 | |
Interfaces | 8 | |
Traits | 2 | |
Classes | 66 | |
▷ Abstract classes | 1 | 1.52% |
▷ Concrete classes | 65 | 98.48% |
▷ Final classes | 28 | 43.08% |
Methods | 496 | |
▷ Static methods | 177 | 35.69% |
▷ Public methods | 413 | 83.27% |
▷ Protected methods | 29 | 5.85% |
▷ Private methods | 54 | 10.89% |
Functions | 30 | |
▷ Named functions | 7 | 23.33% |
▷ Anonymous functions | 23 | 76.67% |
Constants | 36 | |
▷ Global constants | 5 | 13.89% |
▷ Class constants | 31 | 86.11% |
▷ Public constants | 31 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bundled/datatables-files/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
src/modules/Shortcodes/admin/public/img/lilie.png | 48.30KB | 2.18KB | ▼ 95.49% |
bundled/datatables-files/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
src/frontend/public/img/lilie.png | 5.15KB | 2.57KB | ▼ 50.14% |
src/admin/public/img/lilie.png | 3.49KB | 1.14KB | ▼ 67.35% |