WordPress plugin RiskCUBE scored89%from 54 tests.

About plugin

  • Plugin page: riskcube-von-cred...
  • Plugin version: 2.4.7
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.3
  • WordPress version: 6.3.1
  • First release: May 30, 2023
  • Latest release: Oct 16, 2023
  • Number of updates: 9
  • Update frequency: every 40.1 days
  • Top authors: nxtlvl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /203 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.48MB] [CPU: ▼2.41ms] Passed 4 tests

Analyzing server-side resources used by RiskCUBE
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.78 ▲0.3233.57 ▼12.41
Dashboard /wp-admin3.88 ▲0.5850.12 ▼5.16
Posts /wp-admin/edit.php3.93 ▲0.5859.40 ▲12.07
Add New Post /wp-admin/post-new.php6.41 ▲0.5299.48 ▲4.76
Media Library /wp-admin/upload.php3.74 ▲0.5142.30 ▲3.18
View log /wp-admin/admin.php?page=rc-view-log3.7144.20

Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for RiskCUBE
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,477 ▼28414.37 ▲0.080.83 ▼0.9015.33 ▼35.52
Dashboard /wp-admin2,203 ▲265.65 ▲0.0384.12 ▼12.5739.71 ▼3.90
Posts /wp-admin/edit.php2,111 ▲142.03 ▲0.0542.54 ▲7.5635.20 ▼0.96
Add New Post /wp-admin/post-new.php1,535 ▲923.11 ▲0.14608.80 ▼63.9165.05 ▲1.29
Media Library /wp-admin/upload.php1,408 ▲114.23 ▼0.02101.65 ▼12.2847.01 ▼1.50
View log /wp-admin/admin.php?page=rc-view-log7602.0524.4730.22

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 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 Passed 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
The SRP test was a success

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)
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: riskcube, woocommerce, invoice

riskcube-von-creditreform-schweiz/riskcube.php 77% from 13 tests

The principal PHP file in "RiskCUBE" v. 2.4.7 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: A good plugin description is longer than 10 characters (currently 8 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("riskcube-von-creditreform-schweiz.php" instead of "riskcube.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,875 lines of code in 31 files:
LanguageFilesBlank linesComment linesLines of code
PHP235487372,731
JavaScript6234138
JSON1005
CSS1101

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity24.38
▷ Minimum class complexity1.00
▷ Maximum class complexity107.00
Average method complexity3.63
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces6
Interfaces0
Traits0
Classes16
▷ Abstract classes00.00%
▷ Concrete classes16100.00%
▷ Final classes00.00%
Methods136
▷ Static methods8864.71%
▷ Public methods11584.56%
▷ Protected methods53.68%
▷ Private methods1611.76%
Functions8
▷ Named functions225.00%
▷ Anonymous functions675.00%
Constants16
▷ Global constants318.75%
▷ Class constants1381.25%
▷ Public constants13100.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