Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▲7.49ms] Passed 4 tests
An overview of server-side resources used by Actueel Financieel Nieuws – Denk Internet Solutions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 51.78 ▲13.60 |
Dashboard /wp-admin | 3.62 ▲0.27 | 60.38 ▼6.28 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 63.54 ▲16.38 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 107.68 ▲6.57 |
Media Library /wp-admin/upload.php | 3.48 ▲0.24 | 51.79 ▲16.08 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 14 new options
New WordPress options |
---|
theysaidso_admin_options |
__denkis_modules |
__denkis_last_update_timestamp_tip |
widget_theysaidso_widget |
can_compress_scripts |
__denkis_last_update_timestamp_news |
widget_recent-comments |
__denkis_last_update_timestamp_qa |
__denkis_last_update_timestamp_product |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Actueel Financieel Nieuws – Denk Internet Solutions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲142 | 13.67 ▼0.86 | 9.72 ▲8.07 | 42.35 ▼6.91 |
Dashboard /wp-admin | 2,197 ▲17 | 5.81 ▲0.11 | 96.79 ▲10.10 | 78.95 ▲43.05 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.06 ▲0.09 | 41.08 ▲5.08 | 34.27 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 22.10 ▼1.54 | 718.81 ▲35.21 | 58.49 ▲2.00 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.15 ▼0.02 | 105.77 ▲11.37 | 79.23 ▲37.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 14 options
- can_compress_scripts
- widget_theysaidso_widget
- __denkis_last_update_timestamp_tip
- theysaidso_admin_options
- __denkis_last_update_timestamp_qa
- __denkis_last_update_timestamp_news
- __denkis_wfts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/denk-internet-solutions/denkis_frontend.php:63
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: denkis
denk-internet-solutions/denkis_plugin.php 92% from 13 tests
"Actueel Financieel Nieuws – Denk Internet Solutions" version 5.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("denk-internet-solutions.php" instead of "denkis_plugin.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
No dangerous file extensions were detected1,038 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 318 | 174 | 1,024 |
JavaScript | 1 | 6 | 0 | 14 |
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.36 |
Average class complexity | 15.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 53 | |
▷ Static methods | 8 | 15.09% |
▷ Public methods | 44 | 83.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 16.98% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.11MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/30x30.png | 18.11KB | 1.06KB | ▼ 94.15% |
images/rood16x16.png | 17.70KB | 0.69KB | ▼ 96.11% |
images/32x32.png | 18.13KB | 1.19KB | ▼ 93.43% |
images/16x16.png | 17.70KB | 0.69KB | ▼ 96.11% |
images/rood32x32.png | 18.12KB | 1.19KB | ▼ 93.43% |