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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.90ms] Passed 4 tests
An overview of server-side resources used by EenvoudigFactureren for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.59 ▼3.61 |
Dashboard /wp-admin | 3.32 ▼0.02 | 52.44 ▼15.65 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.68 ▼1.68 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.67 ▼23.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.36 ▼4.58 |
API Settings /wp-admin/admin.php?page=wc-eenvoudigfactureren-settings-page | 3.21 | 37.68 |
General Settings /wp-admin/admin.php?page=wc-eenvoudigfactureren-general-settings-page | 3.21 | 31.54 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for EenvoudigFactureren for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.26 ▼1.43 | 2.08 ▲0.07 | 42.21 ▲0.32 |
Dashboard /wp-admin | 2,244 ▲41 | 5.79 ▲0.90 | 102.63 ▼5.93 | 41.95 ▼0.62 |
Posts /wp-admin/edit.php | 2,120 ▲23 | 2.04 ▲0.04 | 35.32 ▼0.82 | 35.23 ▲0.92 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.03 ▲5.48 | 671.97 ▲2.48 | 53.93 ▲4.86 |
Media Library /wp-admin/upload.php | 1,426 ▲32 | 4.26 ▲0.12 | 106.53 ▼9.26 | 49.94 ▲4.56 |
API Settings /wp-admin/admin.php?page=wc-eenvoudigfactureren-settings-page | 913 | 2.04 | 27.90 | 25.69 |
General Settings /wp-admin/admin.php?page=wc-eenvoudigfactureren-general-settings-page | 794 | 2.06 | 26.45 | 27.03 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eenvoudigfactureren-for-woocommerce/eenvoudigfactureren-for-woocommerce.php:17
- > 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 on the user side
Optimizations
Plugin configuration Passed 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
4 plugin tags: accounting, woocommerce, invoice, eenvoudigfactureren
eenvoudigfactureren-for-woocommerce/eenvoudigfactureren-for-woocommerce.php Passed 13 tests
The principal PHP file in "EenvoudigFactureren for WooCommerce" v. 1.0.3 is loaded by WordPress automatically on each request
64 characters long description:
Generate invoices in EenvoudigFactureren for WooCommerce orders.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,126 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 164 | 43 | 851 |
PO File | 2 | 108 | 114 | 246 |
Markdown | 1 | 19 | 0 | 29 |
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.40 |
Average class complexity | 16.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 4 | 9.09% |
▷ Public methods | 30 | 68.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 31.82% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
PNG images were not found in this plugin