Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.82ms] Passed 4 tests
Analyzing server-side resources used by StoreKit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.64 ▼1.69 |
Dashboard /wp-admin | 3.40 ▲0.10 | 51.20 ▼1.01 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 54.71 ▲3.25 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 96.20 ▼3.82 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 39.55 ▲3.25 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
storekit_installed |
widget_recent-comments |
storekit_version |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for StoreKit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲13 | 14.37 ▼0.24 | 1.80 ▼0.25 | 46.05 ▼1.48 |
Dashboard /wp-admin | 2,205 ▲25 | 5.61 ▼0.03 | 90.00 ▼1.05 | 44.52 ▲0.90 |
Posts /wp-admin/edit.php | 2,113 ▲16 | 2.00 ▼0.02 | 39.80 ▲2.28 | 36.48 ▲1.93 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.37 ▲0.21 | 661.22 ▼9.37 | 50.47 ▼17.71 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.21 ▲0.05 | 100.94 ▲1.65 | 45.18 ▲4.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- storekit_version
- db_upgraded
- storekit_installed
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/storekit/includes/functions.php:60
- > PHP Fatal error
Uncaught Error: Class 'WC_Email' not found in wp-content/plugins/storekit/includes/Emails/NewCustomer.php:11
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Donate link: Please fix this invalid url: ""
storekit/storekit.php 92% from 13 tests
This is the main PHP file of "StoreKit" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,400 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 368 | 598 | 1,363 |
CSS | 1 | 3 | 10 | 28 |
JavaScript | 1 | 2 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.43 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 73 | |
▷ Static methods | 1 | 1.37% |
▷ Public methods | 72 | 98.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.37% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 6 | |
▷ Global constants | 6 | 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 files were detected