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.23MB] [CPU: ▼6.23ms] Passed 4 tests
An overview of server-side resources used by GSS_OCA_Tarifador
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 38.73 ▼1.36 |
Dashboard /wp-admin | 3.55 ▲0.24 | 47.50 ▲0.98 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 42.80 ▼0.35 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 80.20 ▼20.07 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 34.97 ▼3.12 |
Server storage [IO: ▲1.02MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GSS_OCA_Tarifador
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.43 ▲0.19 | 1.70 ▲0.11 | 44.92 ▲6.79 |
Dashboard /wp-admin | 2,195 ▲18 | 5.53 ▼0.11 | 83.57 ▼7.99 | 39.17 ▼8.04 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▼0.01 | 38.18 ▲3.15 | 34.26 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.27 ▲0.32 | 642.68 ▼63.47 | 69.82 ▲8.66 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.31 ▲0.14 | 97.41 ▲2.32 | 41.89 ▼0.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gss-oca-tarifador/GSS_OCA_Tarifador.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/gss-oca-tarifador/lib/nusoap.php on line 7384
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/gss-oca-tarifador/lib/nusoapmime.php on line 136
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/gss-oca-tarifador/lib/class.soap_server.php:16
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/gss-oca-tarifador/lib/class.soap_transport_http.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/gss-oca-tarifador/lib/class.soap_parser.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/gss-oca-tarifador/lib/class.soap_val.php:17
- > PHP Warning
Creating default object from empty value in wp-content/plugins/gss-oca-tarifador/lib/class.nusoap_base.php on line 75
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/gss-oca-tarifador/lib/class.wsdl.php:15
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/gss-oca-tarifador/lib/class.soapclient.php on line 365
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/gss-oca-tarifador/lib/class.xmlschema.php:15
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: envios, argentina, shiping, tarifador, oca...
gss-oca-tarifador/GSS_OCA_Tarifador.php 85% from 13 tests
The main PHP file in "GSS_OCA_Tarifador" ver. 1... adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("gss-oca-tarifador.php" instead of "GSS_OCA_Tarifador.php")
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "1...")
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
There were no executable files found in this plugin18,804 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 3,370 | 7,917 | 18,804 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 32.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 377.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 92 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 92 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 664 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 664 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin