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.00MB] [CPU: ▼2.73ms] Passed 4 tests
An overview of server-side resources used by Kirim.Email WooCommerce Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.30 ▲5.29 |
Dashboard /wp-admin | 3.31 ▲0.01 | 57.74 ▲10.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.67 ▲1.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.91 ▼19.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.06 ▲1.04 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Kirim.Email WooCommerce Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.74 ▲0.19 | 1.87 ▲0.26 | 46.89 ▲5.94 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▼0.03 | 109.95 ▲7.81 | 40.98 ▲0.26 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 1.99 ▼0.01 | 37.65 ▼5.84 | 34.17 ▼3.55 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 23.10 ▼0.21 | 665.83 ▲14.66 | 52.65 ▼3.42 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.23 ▲0.03 | 96.06 ▼21.76 | 41.70 ▼6.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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 no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/kirimemail-woocommerce-integration/views/notice.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: type in wp-content/plugins/kirimemail-woocommerce-integration/views/notice.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/kirimemail-woocommerce-integration/views/index.php:8
- > PHP Notice
Undefined variable: type in wp-content/plugins/kirimemail-woocommerce-integration/views/notice.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: woocommerce extension, kirimemail, marketing, email
kirimemail-woocommerce-integration/kirimemail-woocommerce-integration.php 69% from 13 tests
The main PHP file in "Kirim.Email WooCommerce Integration" ver. 1.2.9 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.8" instead of "5.5")
- Git Repository: There should be no Git repositories present in your plugin
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Domain Path: The domain path should use only dashes and lowercase characters ("i18n/language")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,100 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 78 | 77 | 469 |
CSS | 1 | 83 | 0 | 465 |
SVG | 3 | 0 | 0 | 129 |
JavaScript | 1 | 6 | 3 | 37 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 15.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 20 | 76.92% |
▷ Protected methods | 3 | 11.54% |
▷ Private methods | 3 | 11.54% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/images/icon.png | 1.12KB | 0.00KB | ▼ 100.00% |