84% admidio-events

Code Review | Admidio Events

WordPress plugin Admidio Events scored 84% from 54 tests.

About plugin

  • Plugin page: admidio-events
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-4.9.2
  • WordPress version: 5.9.2
  • First release: Jun 23, 2014
  • Latest release: Jan 29, 2018
  • Number of updates: 41
  • Update frequency: every 32.1 days
  • Top authors: fiwad (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 2,039 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼294.41ms] Passed 4 tests

This is a short check of server-side resources used by Admidio Events
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.0955.61 ▲8.28
Dashboard /wp-admin3.47 ▲0.0632.80 ▼2.48
Posts /wp-admin/edit.php3.70 ▲0.0636.40 ▼7.71
Add New Post /wp-admin/post-new.php6.95 ▼0.0394.65 ▼1,159.83
Media Library /wp-admin/upload.php3.35 ▲0.0523.67 ▼7.62

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Admidio Events
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,905 ▲18316.54 ▲0.959.66 ▲3.922.89 ▲0.67
Dashboard /wp-admin2,895 ▲406.01 ▼0.28115.93 ▼19.10153.80 ▼2.35
Posts /wp-admin/edit.php2,691 ▼03.24 ▼0.0063.37 ▼0.25138.78 ▼3.21
Add New Post /wp-admin/post-new.php1,680 ▼9318.98 ▼2.71387.10 ▼51.79152.79 ▼0.41
Media Library /wp-admin/upload.php1,698 ▲35.54 ▼0.02142.37 ▼9.91186.07 ▼21.29

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options detected upon uninstall: 1 option
    • widget_admidio-events

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/admidio-events/admidio-events.php:40

User-side errors Passed 1 test

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


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
5 plugin tags: membership, admidio, widget, events, rss

admidio-events/admidio-events.php 92% from 13 tests

"Admidio Events" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)

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
There were no executable files found in this plugin326 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PO File1194257

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity3.11
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ 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 files were detected