94% dejureorg-vernetzungsfunktion

Code Review | dejure.org Vernetzungsfunktion

WordPress plugin dejure.org Vernetzungsfunktion scored 94% from 54 tests.

About plugin

  • Plugin page: dejureorg-vernetz...
  • Plugin version: 1.97.5
  • PHP compatiblity: 5.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.8
  • WordPress version: 5.8.1
  • First release: Jan 19, 2015
  • Latest release: Jul 13, 2021
  • Number of updates: 53
  • Update frequency: every 44.7 days
  • Top authors: dejure.org (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 3,377 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼138.54ms] Passed 4 tests

A check of server-side resources used by dejure.org Vernetzungsfunktion
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.89 ▲0.1852.08 ▲28.45
Dashboard /wp-admin3.12 ▲0.0758.35 ▲7.98
Posts /wp-admin/edit.php3.18 ▲0.0749.13 ▲0.74
Add New Post /wp-admin/post-new.php5.48 ▲0.0595.79 ▼564.44
Media Library /wp-admin/upload.php3.07 ▲0.0736.63 ▲1.55
dejure.org /wp-admin/options-general.php?page=dejure.org-vernetzung.php3.0428.03

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: 1 new table, 2 new options
New tables
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for dejure.org Vernetzungsfunktion
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,684 ▲8815.83 ▼0.099.91 ▼0.3851.05 ▲1.58
Dashboard /wp-admin2,972 ▲385.92 ▲0.03218.40 ▲54.94131.65 ▲16.58
Posts /wp-admin/edit.php2,744 ▲52.69 ▼0.0074.50 ▼3.8693.12 ▲0.84
Add New Post /wp-admin/post-new.php1,875 ▲26019.16 ▼2.35407.72 ▲115.36114.58 ▲6.45
Media Library /wp-admin/upload.php1,812 ▲55.03 ▼0.00147.34 ▼6.84113.50 ▼10.50
dejure.org /wp-admin/options-general.php?page=dejure.org-vernetzung.php1,4042.0963.1788.01

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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 fix the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/dejureorg-vernetzungsfunktion/dejure.org-vernetzung.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: dejureorg, rechtsprechung, vernetzung, verlinkung

dejureorg-vernetzungsfunktion/dejure.org-vernetzung.php 85% from 13 tests

The main file in "dejure.org Vernetzungsfunktion" v. 1.97.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 251 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dejureorg-vernetzungsfunktion.php" instead of "dejure.org-vernetzung.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected383 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions15100.00%
▷ Anonymous functions00.00%
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected