90% do-not-miss-admin-page

Code Review | do not miss admin page

WordPress plugin do not miss admin page scored90%from 54 tests.

About plugin

  • Plugin page: do-not-miss-admin...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.2
  • WordPress version: 6.3.1
  • First release: Jun 12, 2019
  • Latest release: Aug 4, 2019
  • Number of updates: 3
  • Update frequency: every 17.7 days
  • Top authors: ee_persian (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /495 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
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.26ms] Passed 4 tests

A check of server-side resources used by do not miss admin page
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.23 ▼4.10
Dashboard /wp-admin3.31 ▲0.0146.45 ▼4.45
Posts /wp-admin/edit.php3.36 ▲0.0048.42 ▼0.37
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.50 ▼8.10
Media Library /wp-admin/upload.php3.23 ▲0.0039.07 ▲3.98

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

do not miss admin page: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.23 ▼1.424.61 ▲2.4538.43 ▼10.21
Dashboard /wp-admin2,202 ▲175.85 ▼0.05106.47 ▼16.7740.08 ▼5.79
Posts /wp-admin/edit.php2,091 ▲22.02 ▲0.0140.80 ▲3.0433.69 ▲1.50
Add New Post /wp-admin/post-new.php1,535 ▲223.17 ▼0.22685.68 ▼21.4953.08 ▼7.95
Media Library /wp-admin/upload.php1,390 ▲24.15 ▼0.04116.87 ▲10.1151.48 ▲8.14

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: dashboard, admin

do-not-miss-admin-page/do-not-miss-admin-page.php Passed 13 tests

The principal PHP file in "do not miss admin page" v. 1.0.0 is loaded by WordPress automatically on each request
83 characters long description:
Save your time by visit site frontend in new tab and do not miss current admin page

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
Success! There were no dangerous files found in this plugin11 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP12148
JavaScript1003

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin