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.22MB] [CPU: ▼1.42ms] Passed 4 tests
A check of server-side resources used by e-Boekhouden.nl
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 42.07 ▲5.12 |
Dashboard /wp-admin | 3.59 ▲0.28 | 52.38 ▲5.86 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 46.20 ▼1.62 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 83.78 ▼13.67 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.76 ▲4.51 |
Settings /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden-settings.php/settings | 3.39 | 32.50 |
Orders /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden.php/orders | 3.43 | 29.55 |
Products /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden.php/products | 3.41 | 30.16 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for e-Boekhouden.nl
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.21 ▼1.07 | 1.64 ▼0.08 | 47.29 ▲4.30 |
Dashboard /wp-admin | 2,237 ▲52 | 5.98 ▲1.07 | 110.60 ▲5.38 | 41.93 ▼0.66 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.05 ▼0.00 | 35.03 ▼1.20 | 34.67 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,557 ▲13 | 23.22 ▲5.02 | 673.31 ▼3.84 | 58.06 ▲7.97 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.21 ▲0.03 | 101.03 ▼0.15 | 43.81 ▼1.30 |
Settings /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden-settings.php/settings | 934 | 2.05 | 21.79 | 27.64 |
Orders /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden.php/orders | 997 | 2.06 | 23.01 | 24.57 |
Products /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden.php/products | 913 | 2.04 | 24.27 | 27.96 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
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
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden-settings.php/settings
- > Notice in wp-content/plugins/e-boekhoudennl-connector/includes/eboekhouden.class.php+134
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden.php/products
- > Notice in wp-content/plugins/e-boekhoudennl-connector/includes/lists/eboekhouden-product-list-table.php+230
Undefined variable: products
- > GET request to /wp-admin/admin.php?page=e-boekhoudennl-connector/eboekhouden.php/products
- > Warning in wp-content/plugins/e-boekhoudennl-connector/includes/lists/eboekhouden-product-list-table.php+232
usort() expects parameter 1 to be array, null given
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 20× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Constant EBOEKHOUDEN_CONFIGURATION already defined in wp-content/plugins/e-boekhoudennl-connector/includes/defines.php on line 66
- > PHP Notice
Constant EBOEKHOUDEN_SUBMENU_MAIN already defined in wp-content/plugins/e-boekhoudennl-connector/includes/defines.php on line 67
- > PHP Notice
Constant EBOEKHOUDEN_SUBMENU_ORDERS already defined in wp-content/plugins/e-boekhoudennl-connector/includes/defines.php on line 68
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/e-boekhoudennl-connector/includes/lists/eboekhouden-order-list-table.php on line 4
- > PHP Notice
Constant EBOEKHOUDEN_CONFIG_ACCOUNT_SETTING_DESC already defined in wp-content/plugins/e-boekhoudennl-connector/includes/defines.php on line 19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/e-boekhoudennl-connector/includes/lists/eboekhouden-product-list-table.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/e-boekhoudennl-connector/includes/lists/eboekhouden-product-list-table.php on line 4
- > PHP Notice
Constant EBOEKHOUDEN_SUBMENU_CATEGORIES already defined in wp-content/plugins/e-boekhoudennl-connector/includes/defines.php on line 70
- > PHP Notice
Constant EBOEKHOUDEN_CONFIG_PASS_SETTING_LABEL already defined in wp-content/plugins/e-boekhoudennl-connector/includes/defines.php on line 22
- > PHP Notice
Constant EBOEKHOUDEN_CONFIG_GUID_SETTING_DESC already defined in wp-content/plugins/e-boekhoudennl-connector/includes/defines.php on line 25
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 28 tag instead of maximum 10
e-boekhoudennl-connector/eboekhouden.php 92% from 13 tests
The main file in "e-Boekhouden.nl" v. 1.9.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("e-boekhoudennl-connector.php" instead of "eboekhouden.php")
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 plugin1,292 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 392 | 315 | 1,292 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 23.83 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 9 | 11.11% |
▷ Public methods | 75 | 92.59% |
▷ Protected methods | 6 | 7.41% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 96 | |
▷ Global constants | 96 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin