Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.47ms] Passed 4 tests
Analyzing server-side resources used by Invelity MyGLS connect
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.42 ▼4.55 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.27 ▼2.38 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.85 ▼2.55 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.81 ▼4.38 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.58 ▲2.60 |
MyGLS connect /wp-admin/admin.php?page=invelity-my-gls | 3.24 | 195.02 |
Invelity plugins /wp-admin/admin.php?page=invelity-plugins | 3.24 | 181.02 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
invelity_my_gls_export_options |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Invelity MyGLS connect
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.30 ▼0.92 | 4.40 ▲2.70 | 40.62 ▼10.00 |
Dashboard /wp-admin | 2,231 ▲40 | 4.85 ▼0.07 | 108.89 ▲9.35 | 44.47 ▼2.49 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.02 ▲0.02 | 39.92 ▼1.06 | 34.03 ▼2.77 |
Add New Post /wp-admin/post-new.php | 1,535 ▼2 | 17.80 ▼0.32 | 686.51 ▲65.65 | 52.30 ▼11.49 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.22 ▼0.06 | 98.05 ▲0.12 | 47.47 ▲2.83 |
MyGLS connect /wp-admin/admin.php?page=invelity-my-gls | 968 | 2.05 | 28.43 | 78.56 |
Invelity plugins /wp-admin/admin.php?page=invelity-plugins | 1,078 | 2.02 | 24.09 | 58.98 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- invelity_my_gls_export_options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/invelity-mygls-connect/invelity-mygls-connect.php
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-mygls-connect/lib/nusoap/class.soap_transport_http.php:15
- > PHP Warning
require_once(Mail/mimeDecode.php): failed to open stream: No such file or directory in wp-content/plugins/invelity-mygls-connect/lib/nusoap/nusoapmime.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-mygls-connect/lib/nusoap/class.soap_fault.php:14
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-mygls-connect/lib/nusoap/class.xmlschema.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-mygls-connect/lib/nusoap/class.soap_server.php:16
- > PHP Fatal error
require_once(): Failed opening required 'Mail/mimeDecode.php' (include_path='.:/usr/share/php') in wp-content/plugins/invelity-mygls-connect/lib/nusoap/nusoapmime.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-mygls-connect/lib/nusoap/class.wsdl.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-mygls-connect/lib/nusoap/class.soap_val.php:17
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-mygls-connect/lib/nusoap/class.soapclient.php:26
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-mygls-connect/lib/nusoap/class.soap_parser.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Contributors: The plugin contributors field is not present
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Konfigurácia pluginu), #2 (Používanie pluginu), #3 (Používanie GLS online)
invelity-mygls-connect/invelity-mygls-connect.php 92% from 13 tests
The main PHP script in "Invelity MyGLS connect" version 1.0.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 215 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin12,462 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 1,012 | 5,207 | 12,393 |
JSON | 3 | 0 | 0 | 41 |
SVG | 3 | 0 | 2 | 27 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 389.00 |
Average method complexity | 8.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 39 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 384 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 364 | 94.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 5.21% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin