84% travelmanager-buchungssoftware

Code Review | Travelmanager Buchungssoftware

WordPress plugin Travelmanager Buchungssoftware scored84%from 54 tests.

About plugin

  • Plugin page: travelmanager-buc...
  • Plugin version: 21.20
  • PHP compatiblity: 8.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.3
  • WordPress version: 6.3.1
  • First release: Jan 15, 2021
  • Latest release: Nov 1, 2023
  • Number of updates: 102
  • Update frequency: every 10.0 days
  • Top authors: curato (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20+ active /1,774 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.16MB] [CPU: ▼0.12ms] Passed 4 tests

Server-side resources used by Travelmanager Buchungssoftware
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1842.27 ▲1.51
Dashboard /wp-admin3.48 ▲0.1360.57 ▼0.35
Posts /wp-admin/edit.php3.53 ▲0.1748.33 ▲3.02
Add New Post /wp-admin/post-new.php6.06 ▲0.1794.99 ▼1.83
Media Library /wp-admin/upload.php3.40 ▲0.1735.86 ▲0.17

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Travelmanager Buchungssoftware
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,959 ▲21313.80 ▼0.5615.64 ▲13.9143.02 ▲0.76
Dashboard /wp-admin2,195 ▲215.56 ▼0.1181.02 ▼8.1337.73 ▲2.29
Posts /wp-admin/edit.php2,097 ▼32.01 ▲0.0535.01 ▼2.1134.06 ▼7.68
Add New Post /wp-admin/post-new.php1,526 ▼323.59 ▲0.54604.82 ▼22.5058.53 ▲5.10
Media Library /wp-admin/upload.php1,403 ▲34.21 ▲0.02101.72 ▼4.1744.45 ▼0.82

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

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
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/travelmanager-buchungssoftware/index.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: travelmanager reservierungssystem buchungssoftware booking timetable fahrplan buchungssystem

travelmanager-buchungssoftware/index.php 85% from 13 tests

"Travelmanager Buchungssoftware" version 21.20'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:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("travelmanager-buchungssoftware.php" instead of "index.php")

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
No dangerous file extensions were detected1,985 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP2230411,196
JavaScript4150106649
CSS3244140

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.44
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin