84% denk-internet-solutions

Code Review | Actueel Financieel Nieuws – Denk Internet Solutions

WordPress plugin Actueel Financieel Nieuws – Denk Internet Solutions scored84%from 54 tests.

About plugin

  • Plugin page: denk-internet-sol...
  • Plugin version: 5.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7.2-6.3.1
  • WordPress version: 6.3.1
  • First release: May 30, 2018
  • Latest release: Oct 30, 2023
  • Number of updates: 37
  • Update frequency: every 53.5 days
  • Top authors: muisz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /923 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.72 ▲0.2551.78 ▲13.60
Dashboard /wp-admin3.62 ▲0.2760.38 ▼6.28
Posts /wp-admin/edit.php3.67 ▲0.3163.54 ▲16.38
Add New Post /wp-admin/post-new.php6.13 ▲0.24107.68 ▲6.57
Media Library /wp-admin/upload.php3.48 ▲0.2451.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,888 ▲14213.67 ▼0.869.72 ▲8.0742.35 ▼6.91
Dashboard /wp-admin2,197 ▲175.81 ▲0.1196.79 ▲10.1078.95 ▲43.05
Posts /wp-admin/edit.php2,120 ▲202.06 ▲0.0941.08 ▲5.0834.27 ▲1.15
Add New Post /wp-admin/post-new.php1,538 ▲1222.10 ▼1.54718.81 ▲35.2158.49 ▲2.00
Media Library /wp-admin/upload.php1,411 ▲114.15 ▼0.02105.77 ▲11.3779.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP73181741,024
JavaScript16014

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 code0.36
Average class complexity15.89
▷ Minimum class complexity1.00
▷ Maximum class complexity50.00
Average method complexity3.53
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes111.11%
Methods53
▷ Static methods815.09%
▷ Public methods4483.02%
▷ Protected methods00.00%
▷ Private methods916.98%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.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
FileSize - originalSize - compressedSavings
images/30x30.png18.11KB1.06KB▼ 94.15%
images/rood16x16.png17.70KB0.69KB▼ 96.11%
images/32x32.png18.13KB1.19KB▼ 93.43%
images/16x16.png17.70KB0.69KB▼ 96.11%
images/rood32x32.png18.12KB1.19KB▼ 93.43%