100% admin10x

Code Review | Wordpress Admin10X

WordPress plugin Wordpress Admin10X scored 100% from 54 tests.

About plugin

  • Plugin page: admin10x
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.0.3
  • WordPress version: 5.8.1
  • First release: Feb 8, 2017
  • Latest release: Jan 25, 2019
  • Number of updates: 9
  • Update frequency: every 79.6 days
  • Top authors: brandonliles (100%)

Code review

54 tests

User reviews

1 review

Install metrics

80+ active / 11,945 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼153.20ms] Passed 4 tests

Analyzing server-side resources used by Wordpress Admin10X
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.0125.03 ▲1.12
Dashboard /wp-admin3.07 ▲0.0030.42 ▼5.88
Posts /wp-admin/edit.php3.12 ▲0.0130.55 ▼2.95
Add New Post /wp-admin/post-new.php5.43 ▼0.0167.35 ▼603.32
Media Library /wp-admin/upload.php3.01 ▲0.0121.49 ▼0.64

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: 1 new table, no new options
New tables
wp_author_users

Browser metrics Passed 4 tests

This is an overview of browser requirements for Wordpress Admin10X
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲6515.66 ▼0.464.90 ▼1.7677.48 ▼0.64
Dashboard /wp-admin2,930 ▲346.10 ▼0.03116.08 ▼12.91167.96 ▼6.90
Posts /wp-admin/edit.php2,740 ▲33.24 ▼0.0063.79 ▼0.86137.50 ▼5.81
Add New Post /wp-admin/post-new.php3,735 ▼818.45 ▼0.60404.28 ▼56.75171.45 ▲7.50
Media Library /wp-admin/upload.php1,752 ▼05.52 ▲0.02146.06 ▼20.93193.28 ▲9.72

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
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: performance, admin

admin10x/admin10x.php Passed 13 tests

This is the main PHP file of "Wordpress Admin10X" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Admin10X improves the performance of some admin features when your site has many registered users.

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
There were no executable files found in this plugin100 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12718100

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.17
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions240.00%
▷ Anonymous functions360.00%
Constants0
▷ 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
PNG images were not found in this plugin