Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▲4.14ms] Passed 4 tests
A check of server-side resources used by Árukereső for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 43.65 ▼0.99 |
Dashboard /wp-admin | 3.49 ▲0.19 | 56.09 ▲4.03 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 55.39 ▲6.03 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 104.02 ▲7.50 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 45.83 ▲12.24 |
Árukereső /wp-admin/options-general.php?page=arukereso | 3.38 | 42.19 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Árukereső for Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.23 ▼0.14 | 2.22 ▲0.24 | 42.84 ▼1.28 |
Dashboard /wp-admin | 2,204 ▲30 | 5.61 ▼0.06 | 94.32 ▼3.71 | 40.81 ▼2.16 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.95 ▼0.04 | 40.59 ▲6.18 | 39.24 ▲2.47 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 18.18 ▼4.79 | 626.01 ▼38.19 | 61.19 ▼2.60 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.21 ▲0.01 | 98.10 ▼2.95 | 45.92 ▲1.29 |
Árukereső /wp-admin/options-general.php?page=arukereso | 867 | 2.02 | 26.25 | 27.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/arukereso-for-woocommerce/includes/class-waruk_trustedShop.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/arukereso-for-woocommerce/includes/class-waruk_feedGenerator.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arukereso-for-woocommerce/includes/class-waruk_wcFields.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arukereso-for-woocommerce/includes/class-waruk_adminDashboard.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arukereso-for-woocommerce/includes/class-waruk_adminDashboard.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: woocommerce, arukereso
arukereso-for-woocommerce/woo-arukereso.php 77% from 13 tests
"Árukereső for Woocommerce" version 2.8.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/lang")
- Main file name: The principal plugin file should be the same as the plugin slug ("arukereso-for-woocommerce.php" instead of "woo-arukereso.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected825 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 35 | 56 | 825 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 13.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 1 | 2.38% |
▷ Private methods | 1 | 2.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 1 | 7.69% |
▷ Class constants | 12 | 92.31% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin