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.18MB] [CPU: ▲0.06ms] Passed 4 tests
Analyzing server-side resources used by kitpack for persian elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 35.57 ▼3.83 |
Dashboard /wp-admin | 3.49 ▲0.18 | 44.84 ▲0.12 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 50.34 ▲2.25 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 94.48 ▲1.69 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 33.62 ▲2.82 |
Server storage [IO: ▲3.24MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 145 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
kpe_option |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for kitpack for persian elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲78 | 14.68 ▲0.33 | 1.67 ▲0.09 | 37.76 ▼8.20 |
Dashboard /wp-admin | 2,242 ▲65 | 5.63 ▲0.00 | 90.84 ▼3.41 | 43.55 ▼3.27 |
Posts /wp-admin/edit.php | 2,147 ▲44 | 1.99 ▲0.01 | 40.44 ▼0.49 | 43.19 ▲7.01 |
Add New Post /wp-admin/post-new.php | 1,550 ▲23 | 25.43 ▲2.17 | 621.85 ▲13.72 | 81.59 ▲32.76 |
Media Library /wp-admin/upload.php | 1,451 ▲54 | 4.21 ▲0.03 | 98.29 ▼2.47 | 43.82 ▲2.88 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- kpe_option
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
Please take a closer look at the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/kitpack-for-persian-elementor/admin/partials/kitpack-lite-admin-display.php
- > /wp-content/plugins/kitpack-for-persian-elementor/public/partials/kitpack-lite-public-display.php
- > /wp-content/plugins/kitpack-for-persian-elementor/elementor/partials/kitpack-lite-elementor-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: fa_ir, iran, elementor, iranian, persians...
kitpack-for-persian-elementor/kitpack-lite.php 77% from 13 tests
The main PHP file in "kitpack for persian elementor" ver. 2.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kitpack-for-persian-elementor.php" instead of "kitpack-lite.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 161 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin26,247 lines of code in 118 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 5 | 8,123 | 11,318 | 17,130 |
PHP | 93 | 2,109 | 1,647 | 7,144 |
JavaScript | 5 | 243 | 64 | 1,306 |
Markdown | 2 | 85 | 0 | 379 |
CSS | 8 | 5 | 19 | 163 |
SVG | 3 | 0 | 0 | 73 |
JSON | 2 | 1 | 0 | 52 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 17.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 5.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 2 | 2.99% |
▷ Concrete classes | 65 | 97.01% |
▷ Final classes | 0 | 0.00% |
Methods | 245 | |
▷ Static methods | 35 | 14.29% |
▷ Public methods | 239 | 97.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 2.45% |
Functions | 25 | |
▷ Named functions | 25 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/logo-kp.png | 0.50KB | 0.28KB | ▼ 42.60% |
admin/framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |