90% agenda-editor

Code Review | Agenda Editor

WordPress plugin Agenda Editor scored90%from 54 tests.

About plugin

  • Plugin page: agenda-editor
  • Plugin version: 0.4.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-5.7
  • WordPress version: 6.3.1
  • First release: Aug 27, 2020
  • Latest release: Mar 23, 2021
  • Number of updates: 24
  • Update frequency: every 8.7 days
  • Top authors: agendah (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,008 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼0.26MB] [CPU: ▼14.69ms] Passed 4 tests

An overview of server-side resources used by Agenda Editor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.47 ▼6.62
Dashboard /wp-admin3.32 ▲0.0247.87 ▼6.56
Posts /wp-admin/edit.php3.37 ▲0.0148.29 ▼2.57
Add New Post /wp-admin/post-new.php4.81 ▼1.0756.69 ▼43.00
Media Library /wp-admin/upload.php3.24 ▲0.0234.02 ▼1.61
Agenda Editor Settings /wp-admin/options-general.php?page=agenda-editor-settings3.2129.26

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Agenda Editor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,882 ▲12113.42 ▼0.939.51 ▲7.6941.16 ▼5.92
Dashboard /wp-admin2,189 ▲95.57 ▼0.0491.53 ▼6.8738.25 ▼6.12
Posts /wp-admin/edit.php2,094 ▼62.03 ▲0.0535.38 ▼0.7526.20 ▼10.10
Add New Post /wp-admin/post-new.php1,491 ▼3518.34 ▼4.98623.39 ▼76.1977.97 ▲19.43
Media Library /wp-admin/upload.php1,397 ▼34.15 ▼0.1595.70 ▼9.3739.34 ▼4.94
Agenda Editor Settings /wp-admin/options-general.php?page=agenda-editor-settings7911.9923.6636.75

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
The following items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • agendahelsinki_editor_settings_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected


Plugin configuration 96% from 29 tests

readme.txt Passed 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
2 plugin tags: comments, spam

agenda-editor/plugin.php 92% from 13 tests

This is the main PHP file of "Agenda Editor" version 0.4.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("agenda-editor.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected56,543 lines of code in 57 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.23
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions14100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin