84% multiple-editors

Code Review | Multiple Editors

WordPress plugin Multiple Editors scored 84% from 54 tests.

About plugin

  • Plugin page: multiple-editors
  • Plugin version: 0.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-3.8.1
  • WordPress version: 6.3.1
  • First release: Apr 6, 2014
  • Latest release: Apr 6, 2014
  • Number of updates: 6
  • Update frequency: every 0.3 days
  • Top authors: kasparsd (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,376 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

Server-side resources used by Multiple Editors
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.33 ▼6.48
Dashboard /wp-admin3.33 ▲0.0344.43 ▼1.12
Posts /wp-admin/edit.php3.45 ▲0.0949.19 ▼2.28
Add New Post /wp-admin/post-new.php5.95 ▲0.0691.69 ▼3.11
Media Library /wp-admin/upload.php3.26 ▲0.0332.91 ▼1.31

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Multiple Editors
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.70 ▼0.995.03 ▲3.2347.02 ▲7.39
Dashboard /wp-admin2,206 ▲155.83 ▲0.91109.44 ▲6.2853.58 ▲9.83
Posts /wp-admin/edit.php2,089 ▼02.03 ▲0.0038.73 ▼2.3534.55 ▼3.37
Add New Post /wp-admin/post-new.php6,460 ▲4,93020.20 ▲2.06907.06 ▲288.7749.80 ▼5.01
Media Library /wp-admin/upload.php1,391 ▲94.18 ▼0.0298.78 ▼1.5541.45 ▼1.72

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-editors/multiple-editors.php:39

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected


Plugin configuration 93% from 29 tests

readme.txt 88% from 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
These attributes need your attention:
  • Screenshots: Screenshot #1 (Editor meta box with an option to promote other users as editors of that post.) image required
  • Tags: There are too many tags (11 tag instead of maximum 10)
You can take inspiration from this readme.txt

multiple-editors/multiple-editors.php Passed 13 tests

"Multiple Editors" version 0.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
136 characters long description:
Allow multiple editors and contributors per post or page. It will also allow contributors and authors to upload files and add new pages.

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
Good job! No executable or dangerous file extensions detected190 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PO File2141861

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity27.00
▷ Minimum class complexity27.00
▷ Maximum class complexity27.00
Average method complexity4.25
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods112.50%
▷ Public methods787.50%
▷ Protected methods00.00%
▷ Private methods112.50%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin