94% admin-menu-post-list

Code Review | Admin Menu Post List

WordPress plugin Admin Menu Post List scored 94% from 54 tests.

About plugin

  • Plugin page: admin-menu-post-list
  • Plugin version: 2.0.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.7
  • WordPress version: 5.9.2
  • First release: Oct 30, 2013
  • Latest release: Mar 10, 2021
  • Number of updates: 37
  • Update frequency: every 72.7 days
  • Top authors: miyarakira (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

800+ active / 8,809 total downloads


Plugin footprint Passed 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.05MB] [CPU: ▼287.29ms] Passed 4 tests

A check of server-side resources used by Admin Menu Post List
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.0762.94 ▲9.34
Dashboard /wp-admin3.49 ▲0.0834.29 ▼1.45
Posts /wp-admin/edit.php3.72 ▲0.0742.36 ▲5.86
Add New Post /wp-admin/post-new.php6.95 ▼0.0297.66 ▼1,154.75
Media Library /wp-admin/upload.php3.37 ▲0.0725.85 ▲1.19
Post List /wp-admin/options-general.php?page=admin_menu_post_list_settings_page3.3424.43

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: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Admin Menu Post List
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,803 ▲5915.98 ▼0.077.22 ▲1.113.68 ▲1.69
Dashboard /wp-admin2,900 ▲396.12 ▼0.05117.77 ▼16.26158.97 ▼3.16
Posts /wp-admin/edit.php2,699 ▲53.24 ▲0.0163.64 ▼1.18147.25 ▲1.91
Add New Post /wp-admin/post-new.php1,666 ▼2416.66 ▼4.44400.78 ▼86.30153.09 ▼4.07
Media Library /wp-admin/upload.php1,706 ▲85.51 ▲0.03138.64 ▼6.48183.70 ▼4.03
Post List /wp-admin/options-general.php?page=admin_menu_post_list_settings_page1,2842.4454.38124.06

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-menu-post-list/admin-menu-post-list.php:28

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: list, post, view, admin, page...

admin-menu-post-list/admin-menu-post-list.php Passed 13 tests

The entry point to "Admin Menu Post List" version 2.0.7 is a PHP file that has certain tags in its header comment area
37 characters long description:
Display a post list in the admin menu

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 plugin455 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity67.00
▷ Minimum class complexity67.00
▷ Maximum class complexity67.00
Average method complexity5.40
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ 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

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