Benchmarks
Plugin footprint 48% 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: ▼2.26MB] [CPU: ▼347.58ms] Passed 4 tests
Server-side resources used by WP24 EVENTS
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.40 | 5.11 ▼43.00 |
Dashboard /wp-admin | 2.14 ▼1.27 | 4.18 ▼29.50 |
Posts /wp-admin/edit.php | 2.14 ▼1.50 | 5.18 ▼32.38 |
Add New Post /wp-admin/post-new.php | 2.14 ▼4.86 | 4.77 ▼1,285.43 |
Media Library /wp-admin/upload.php | 2.14 ▼1.16 | 5.09 ▼20.31 |
AP24 plans /wp-admin/admin.php?page=art-Picture-termine | 2.14 | 4.32 |
AP24 Events /wp-admin/admin.php?page=wp-artPictures | 2.14 | 5.29 |
Server storage [IO: ▲4.43MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 110 new files
Database: 5 new tables, 1 new option
New tables |
---|
wp_apd_settings |
wp_apd_category |
wp_apd_group |
wp_apd_weekdays |
wp_apd_termin |
New WordPress options |
---|
jal_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for WP24 EVENTS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,274 ▲520 | 16.99 ▲0.90 | 9.62 ▲4.12 | 4.77 ▲2.49 |
Dashboard /wp-admin | 3,227 ▲366 | 7.07 ▲0.90 | 123.04 ▼10.56 | 188.77 ▲28.22 |
Posts /wp-admin/edit.php | 2,994 ▲300 | 3.39 ▲0.16 | 72.38 ▲6.92 | 155.00 ▲10.48 |
Add New Post /wp-admin/post-new.php | 2,027 ▲316 | 20.90 ▲0.23 | 449.30 ▼13.15 | 192.85 ▲35.19 |
Media Library /wp-admin/upload.php | 2,032 ▲331 | 5.99 ▲0.52 | 133.00 ▼8.75 | 218.24 ▲35.31 |
AP24 plans /wp-admin/admin.php?page=art-Picture-termine | 2,085 | 3.36 | 77.12 | 182.45 |
AP24 Events /wp-admin/admin.php?page=wp-artPictures | 4,601 | 4.10 | 101.64 | 130.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wp24-termine/lib/register_apd_plugin.php+243
Undefined variable: php
- The uninstall procedure failed, leaving 5 tables in the database
- wp_apd_category
- wp_apd_termin
- wp_apd_weekdays
- wp_apd_group
- wp_apd_settings
- The uninstall procedure has failed, leaving 1 option in the database
- jal_db_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-artPictures
- > Notice in wp-content/plugins/wp24-termine/lib/register_apd_plugin.php+243
Undefined variable: php
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+31
Trying to get property 'sett_id' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+100
Trying to get property 'lang_id' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+358
Trying to get property 'day_montag' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+358
Trying to get property 'day_dienstag' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+358
Trying to get property 'day_mittwoch' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+358
Trying to get property 'day_donnerstag' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+358
Trying to get property 'day_freitag' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+358
Trying to get property 'day_samstag' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/php/plugin_db.php+358
Trying to get property 'day_sonntag' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/pages/termine-events.php+229
Trying to get property 'drop_aktiv' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/pages/termine-events.php+239
Trying to get property 'name' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/pages/termine-events.php+249
Trying to get property 'id' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/pages/termine-events.php+273
Trying to get property 'drop_bezeichnung' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/pages/termine-events.php+289
Trying to get property 'drop_bg' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/pages/termine-events.php+297
Trying to get property 'drop_txt' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/pages/termine-events.php+309
Trying to get property 'drop_hover_bg' of non-object
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Notice in wp-content/plugins/wp24-termine/lib/pages/termine-events.php+317
Trying to get property 'drop_txt_size' of non-object
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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp24-termine/wp24-termine.php:30
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=art-Picture-termine
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31702 Uncaught
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
wp24-termine/wp24-termine.php 92% from 13 tests
The main file in "WP24 EVENTS" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin11,760 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 367 | 311 | 5,005 |
SVG | 2 | 0 | 0 | 2,672 |
CSS | 8 | 344 | 60 | 1,905 |
JavaScript | 7 | 108 | 168 | 1,437 |
PO File | 2 | 354 | 452 | 741 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 25.20 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 88 | 85.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 14.56% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/images/logo.png | 1.24KB | 0.47KB | ▼ 62.29% |
assets/css/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
assets/css/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/css/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |