94% eveeno

Code Review | Eveeno

WordPress plugin Eveeno scored 94% from 54 tests.

About plugin

  • Plugin page: eveeno
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-5.6
  • WordPress version: 5.8.1
  • First release: Jul 24, 2015
  • Latest release: Jan 23, 2021
  • Number of updates: 9
  • Update frequency: every 229.9 days
  • Top authors: babo2015 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 1,027 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼145.73ms] Passed 4 tests

An overview of server-side resources used by Eveeno
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.88 ▲0.1637.56 ▲12.80
Dashboard /wp-admin3.10 ▲0.0538.01 ▼10.49
Posts /wp-admin/edit.php3.16 ▲0.0546.37 ▼0.17
Add New Post /wp-admin/post-new.php5.46 ▲0.0393.14 ▼567.58
Media Library /wp-admin/upload.php3.05 ▲0.0529.50 ▼4.68

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Eveeno
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.80 ▲0.329.62 ▼0.6851.15 ▼0.88
Dashboard /wp-admin2,973 ▲425.92 ▲0.00139.41 ▼22.11112.94 ▼10.68
Posts /wp-admin/edit.php2,739 ▼02.68 ▼0.0168.06 ▼2.2693.09 ▼2.30
Add New Post /wp-admin/post-new.php1,683 ▼018.74 ▲0.30385.75 ▼6.19107.79 ▼8.78
Media Library /wp-admin/upload.php1,810 ▲35.01 ▼0.02168.68 ▲14.30117.81 ▼9.91

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eveeno/eveeno.php:28

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: form, registration, conference, event

eveeno/eveeno.php Passed 13 tests

"Eveeno" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
107 characters long description:
Erstellt Shortcode, der Anmeldeformulare und Veranstaltungslisten von Eveeno in die eigene Seite integriert

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected255 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP14075133
PO File22426122

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity4.17
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods571.43%
▷ Public methods571.43%
▷ Protected methods00.00%
▷ Private methods228.57%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected