Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.95ms] Passed 4 tests
Analyzing server-side resources used by Transactium WooCommerce AddOn
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 35.17 ▼1.41 |
Dashboard /wp-admin | 3.47 ▲0.13 | 43.93 ▼15.14 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 45.07 ▼3.41 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 94.64 ▲0.16 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.45 ▲5.58 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Transactium WooCommerce AddOn
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.37 | 1.77 ▼0.02 | 38.82 ▲1.39 |
Dashboard /wp-admin | 2,203 ▲15 | 4.84 ▼1.06 | 101.18 ▼2.39 | 38.42 ▼1.87 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.02 | 35.04 ▼2.26 | 30.50 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.19 ▲0.07 | 672.04 ▼4.57 | 58.74 ▲5.31 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.04 | 93.97 ▼6.75 | 45.26 ▲1.75 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× 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/transactium-woocommerce-addon/transactium-woocommerce-addon.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 18 tag instead of maximum 10
transactium-woocommerce-addon/transactium-woocommerce-addon.php 92% from 13 tests
"Transactium WooCommerce AddOn" version 1.14's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.9" instead of "2.4.0")
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
Success! There were no dangerous files found in this plugin998 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 166 | 112 | 871 |
JavaScript | 1 | 42 | 21 | 119 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 110.00 |
▷ Minimum class complexity | 110.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 6.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin