Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.35ms] Passed 4 tests
A check of server-side resources used by WC Variations Ajax
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.51 ▼0.14 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.24 ▲0.48 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 49.41 ▼1.45 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 85.52 ▼16.30 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 38.47 ▲0.73 |
WC Ajax Variations /wp-admin/options-general.php?page=nwmc_var_ajax | 3.19 | 33.55 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
WC Variations Ajax: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.33 ▼0.02 | 1.85 ▼0.14 | 44.59 ▲2.49 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.03 | 89.77 ▼7.54 | 37.79 ▼4.26 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▲0.02 | 39.92 ▲4.73 | 37.44 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,529 ▼9 | 23.47 ▼0.00 | 707.58 ▲43.26 | 54.82 ▲3.18 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.02 | 107.30 ▲0.42 | 48.55 ▼0.21 |
WC Ajax Variations /wp-admin/options-general.php?page=nwmc_var_ajax | 789 | 2.00 | 27.15 | 26.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=nwmc_var_ajax
- > Notice in wp-content/plugins/wc-variations-ajax/wc-variations-ajax.php+54
Trying to access array offset on value of type bool
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 have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-variations-ajax/wc-variations-ajax.php:16
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: attributes, store, variations, woocommerce
wc-variations-ajax/wc-variations-ajax.php Passed 13 tests
The main PHP file in "WC Variations Ajax" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
58 characters long description:
modify Ajax to allow more variations fix for v2.4 or above
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 plugin49 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 13 | 49 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin