Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.20MB] [CPU: ▼44.43ms] Passed 4 tests
An overview of server-side resources used by Ogoship API for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▼0.68 | 14.08 ▼29.56 |
Dashboard /wp-admin | 2.82 ▼0.52 | 18.28 ▼41.09 |
Posts /wp-admin/edit.php | 2.82 ▼0.53 | 19.74 ▼27.42 |
Add New Post /wp-admin/post-new.php | 2.82 ▼3.07 | 18.69 ▼79.64 |
Media Library /wp-admin/upload.php | 2.82 ▼0.41 | 20.06 ▼11.99 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Ogoship API for WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.54 ▲0.20 | 1.64 ▲0.04 | 40.20 ▼1.49 |
Dashboard /wp-admin | 2,192 ▲18 | 5.62 ▲0.06 | 92.63 ▲6.15 | 40.11 ▲0.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▲0.03 | 39.20 ▲1.02 | 35.48 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.61 ▲0.06 | 669.44 ▼14.73 | 56.40 ▲3.47 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▲0.02 | 108.40 ▼3.56 | 47.54 ▼1.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/ogoship-nettivarasto-api-for-woocommerce/nettivarasto.php+169
Undefined index: send_to_nv
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: nettivarasto, 3pl, logistics, ogoship
ogoship-nettivarasto-api-for-woocommerce/nettivarasto.php 85% from 13 tests
This is the main PHP file of "Ogoship API for WooCommerce" version 3.7.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("4.5" instead of "3.0.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("ogoship-nettivarasto-api-for-woocommerce.php" instead of "nettivarasto.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,817 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 251 | 331 | 1,687 |
PO File | 1 | 84 | 129 | 130 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 35.83 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 138 | |
▷ Static methods | 2 | 1.45% |
▷ Public methods | 132 | 95.65% |
▷ Protected methods | 4 | 2.90% |
▷ Private methods | 2 | 1.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected