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.01MB] [CPU: ▼7.76ms] Passed 4 tests
Analyzing server-side resources used by Slovak Post EPH Export
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.41 ▲4.69 |
Dashboard /wp-admin | 3.33 ▼0.02 | 51.05 ▼11.80 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.71 ▼0.29 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.22 ▼18.16 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.52 ▼0.77 |
EPH export /wp-admin/options-general.php?page=slovak-post-eph-export | 3.19 | 35.52 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Slovak Post EPH Export
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 14.26 ▼0.18 | 1.66 ▼0.20 | 43.28 ▲4.31 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▲0.12 | 90.85 ▼3.55 | 40.16 ▼1.09 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.08 | 38.27 ▼0.78 | 36.67 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.07 ▼0.50 | 645.50 ▼33.10 | 51.28 ▼11.17 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.17 ▼0.05 | 97.61 ▼5.08 | 45.22 ▼0.85 |
EPH export /wp-admin/options-general.php?page=slovak-post-eph-export | 859 | 2.00 | 23.08 | 30.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=slovak-post-eph-export
- > Notice in wp-content/plugins/slovak-post-eph-export/settings_page.php+104
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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slovak-post-eph-export/settings_page.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slovak-post-eph-export/settings_page.php:22
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: woocommerce, slovenska posta, eph
slovak-post-eph-export/eph_plugin.php 92% from 13 tests
"Slovak Post EPH Export" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("slovak-post-eph-export.php" instead of "eph_plugin.php")
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
Everything looks great! No dangerous files found in this plugin378 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 101 | 132 | 260 |
PO File | 2 | 40 | 42 | 118 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 25 | |
▷ Named functions | 25 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin