84% eveeno

Code Review | Eveeno

WordPress plugin Eveeno scored84%from 54 tests.

About plugin

  • Plugin page: eveeno
  • Plugin version: 1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-5.8.2
  • WordPress version: 6.3.1
  • First release: Jul 24, 2015
  • Latest release: Dec 18, 2021
  • Number of updates: 10
  • Update frequency: every 239.7 days
  • Top authors: babo2015 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,613 total downloads

Benchmarks

Plugin footprint 83% from 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.02MB] [CPU: ▼4.44ms] 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 /3.49 ▲0.0336.24 ▼5.56
Dashboard /wp-admin3.32 ▲0.0246.69 ▼10.84
Posts /wp-admin/edit.php3.38 ▲0.0246.01 ▲0.34
Add New Post /wp-admin/post-new.php5.91 ▲0.0295.96 ▲4.37
Media Library /wp-admin/upload.php3.25 ▲0.0233.47 ▼1.68

Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] 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, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Eveeno
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.34 ▼0.021.69 ▼0.2340.87 ▼7.02
Dashboard /wp-admin2,198 ▲185.64 ▼0.0491.76 ▼7.8641.53 ▼3.76
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0238.24 ▲2.4735.30 ▲0.67
Add New Post /wp-admin/post-new.php1,535 ▲918.47 ▼4.71589.47 ▼112.2672.13 ▲20.59
Media Library /wp-admin/upload.php1,403 ▲34.36 ▲0.1495.18 ▼22.8343.32 ▼11.27

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

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: event, registration, conference, form

eveeno/eveeno.php Passed 13 tests

"Eveeno" version 1.5'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 detected258 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP14075136
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 complexity21.00
▷ Minimum class complexity21.00
▷ Maximum class complexity21.00
Average method complexity4.33
▷ Minimum method complexity1.00
▷ Maximum method complexity17.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