Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.95ms] Passed 4 tests
Server-side resources used by Qiriman
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.20 ▲2.16 |
Dashboard /wp-admin | 3.44 ▲0.14 | 47.75 ▼1.77 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 50.98 ▲5.90 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 84.09 ▼4.45 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 33.43 ▲0.24 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Qiriman
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.22 ▼0.76 | 1.78 ▲0.13 | 43.49 ▲2.82 |
Dashboard /wp-admin | 2,208 ▲16 | 4.86 ▼0.04 | 108.20 ▼3.19 | 40.56 ▼5.39 |
Posts /wp-admin/edit.php | 2,091 ▲5 | 2.03 ▼0.02 | 37.77 ▲2.41 | 36.12 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,549 ▲14 | 18.47 ▼4.76 | 586.77 ▼111.68 | 54.15 ▼1.41 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.22 ▲0.02 | 96.89 ▲0.59 | 44.15 ▼0.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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)
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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/qiriman/admin/partials/qiriman-admin-display.php
- > /wp-content/plugins/qiriman/public/partials/qiriman-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/qiriman/includes/class-qiriman-shipping.php:5
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots need descriptions #1, #2 in qiriman/assets to your readme.txt
qiriman/qiriman.php Passed 13 tests
Analyzing the main PHP file in "Qiriman" version 1.0.4
98 characters long description:
Qiriman is a WooCommerce plugin that provide shipping method from various expedition in Indonesia.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,122 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 219 | 615 | 736 |
JavaScript | 2 | 44 | 31 | 371 |
CSS | 2 | 5 | 8 | 15 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 33 | 80.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 19.51% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin