Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/ithink-logistics-ecommerce-shipping-in-india/ithink-plugin.php+28
Trying to get property 'api_key' of non-object
Server metrics [RAM: ▲0.03MB] [CPU: ▲1.39ms] Passed 4 tests
This is a short check of server-side resources used by iThink Logistics eCommerce shipping in India
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 49.02 ▲11.14 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.82 ▲0.05 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.75 ▼3.15 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.29 ▼0.56 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 42.59 ▲9.21 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_ithink_logistics |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
at_db_version |
freeshipping_totalvalue |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
iThink Logistics eCommerce shipping in India: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 13.43 ▼0.93 | 11.31 ▲9.73 | 39.75 ▲0.64 |
Dashboard /wp-admin | 2,213 ▲39 | 5.61 ▲0.09 | 83.34 ▼7.45 | 41.81 ▲2.22 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.01 ▲0.02 | 33.49 ▼2.42 | 36.05 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 20.98 ▼2.63 | 734.56 ▲93.75 | 55.90 ▼0.64 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.21 ▲0.04 | 109.64 ▲15.21 | 49.37 ▲5.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- freeshipping_totalvalue
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- at_db_version
Smoke tests 75% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ithink-logistics-ecommerce-shipping-in-india/ithink-plugin.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ithink-logistics-ecommerce-shipping-in-india/lib/admin-order-shipping.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ithink-logistics-ecommerce-shipping-in-india/lib/pincode-api.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ithink-logistics-ecommerce-shipping-in-india/lib/free-shipping.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ithink-logistics-ecommerce-shipping-in-india/lib/shippingcalculate.php:164
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in ithink-logistics-ecommerce-shipping-in-india/assets to your readme.txt
- Donate link: Please fix this invalid URI: "www.ithinklogistics.com"
ithink-logistics-ecommerce-shipping-in-india/ithink-plugin.php 85% from 13 tests
The primary PHP file in "iThink Logistics eCommerce shipping in India" version 2.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 151 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ithink-logistics-ecommerce-shipping-in-india.php" instead of "ithink-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected977 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 214 | 110 | 944 |
JavaScript | 2 | 9 | 1 | 33 |
PHP code Passed 2 tests
Analyzing 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.24 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There were not PNG files found in your plugin