Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.48ms] Passed 4 tests
Analyzing server-side resources used by Kelkoogroup Salestracking
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.84 ▼2.32 |
Dashboard /wp-admin | 3.35 ▲0.00 | 48.94 ▼14.95 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.73 ▲3.60 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.18 ▼12.25 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 43.49 ▲7.99 |
Kelkoogroup /wp-admin/options-general.php?page=kelkoogroup-settings | 3.21 | 32.78 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Kelkoogroup Salestracking
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲59 | 14.26 ▼0.10 | 3.91 ▲1.75 | 43.32 ▼1.96 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.06 | 98.01 ▼3.72 | 37.96 ▼8.70 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.03 | 39.29 ▲2.84 | 35.88 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.20 ▲5.58 | 673.74 ▼26.89 | 62.70 ▼1.00 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.22 ▼0.02 | 101.34 ▼5.34 | 43.71 ▼7.96 |
Kelkoogroup /wp-admin/options-general.php?page=kelkoogroup-settings | 857 | 2.01 | 22.83 | 46.15 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=kelkoogroup-settings
- > Notice in wp-content/plugins/kelkoogroup-sales-tracking/admin/class-kelkoogroup-salestracking-admin.php+92
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% 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
5 plugin tags: php, sales, woocommerce, kelkoogroup, tracking
kelkoogroup-sales-tracking/woocommerce-kelkoogroup-salestracking.php 85% from 13 tests
"Kelkoogroup Salestracking" version 1.0.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("kelkoogroup-sales-tracking.php" instead of "woocommerce-kelkoogroup-salestracking.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0.0" instead of "3.0.0")
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
Good job! No executable or dangerous file extensions detected251 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 34 | 59 | 167 |
Markdown | 1 | 27 | 0 | 84 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin