Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.55ms] Passed 4 tests
An overview of server-side resources used by Walee Tracking
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.74 ▼5.95 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.54 ▼13.85 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.66 ▼5.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.86 ▼20.46 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.85 ▲4.68 |
Server storage [IO: ▲0.06MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: 7 new tables, 6 new options
New tables |
---|
wp_wt_sales |
wp_wt_sale_line |
wp_wt_carts |
wp_wt_match_data |
wp_wt_config |
wp_wt_formsubmittion |
wp_wt_views |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Walee Tracking: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.06 | 1.74 ▼0.08 | 41.40 ▼2.87 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲0.08 | 98.88 ▼9.23 | 38.58 ▼8.04 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.01 | 35.74 ▼0.08 | 34.60 ▼3.66 |
Add New Post /wp-admin/post-new.php | 1,514 ▼26 | 17.60 ▼0.60 | 662.14 ▲10.44 | 57.66 ▲5.94 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.20 ▲0.03 | 97.44 ▼3.33 | 41.49 ▼4.81 |
Uninstaller [IO: ▲0.06MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Incomplete uninstall procedure, leaving 9 files (0.06MB) in the plugin directory
- (new file) languages/.empty
- (new file) license.txt
- (new file) vendor/functions.php
- (new file) templates/admin.php
- (new file) readme.txt
- (new file) vendor/dbFunctions.php
- (new file) templates/admin.html
- (new file) vendor/makeTables.php
- (new file) walee-tracking.php
- Zombie tables were found after uninstall: 7 tables
- wp_wt_match_data
- wp_wt_sale_line
- wp_wt_views
- wp_wt_sales
- wp_wt_carts
- wp_wt_config
- wp_wt_formsubmittion
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/walee-tracking/templates/admin.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to a member function get_charset_collate() on null in wp-content/plugins/walee-tracking/vendor/makeTables.php:36
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (This screen shot description corresponds to banner-772�250. This represents the banner to be used in plugin page.), #2 (This screen shot description corresponds to icon-256x256. This represents the icon to be used for plugin.)
walee-tracking/walee-tracking.php 92% from 13 tests
The main PHP script in "Walee Tracking" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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
Success! There were no dangerous files found in this plugin594 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 82 | 139 | 575 |
HTML | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin