100% admin-bar-in-fullscreen-mode

Code Review | Admin Bar in Fullscreen Mode

WordPress plugin Admin Bar in Fullscreen Mode scored 100% from 54 tests.

About plugin

  • Plugin page: admin-bar-in-full...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.5.3
  • WordPress version: 5.9.2
  • First release: Nov 11, 2020
  • Latest release: Nov 11, 2020
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: srikat (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 542 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.02MB] [CPU: ▼300.15ms] Passed 4 tests

A check of server-side resources used by Admin Bar in Fullscreen Mode
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0154.85 ▲2.62
Dashboard /wp-admin3.42 ▲0.0133.29 ▼0.55
Posts /wp-admin/edit.php3.65 ▲0.0138.84 ▲0.84
Add New Post /wp-admin/post-new.php6.89 ▼0.0892.28 ▼1,201.16
Media Library /wp-admin/upload.php3.30 ▲0.0026.13 ▲0.29

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Admin Bar in Fullscreen Mode
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,795 ▲5115.89 ▲0.056.27 ▲0.132.46 ▲0.44
Dashboard /wp-admin2,895 ▲376.16 ▼0.05118.87 ▼17.22158.73 ▼4.14
Posts /wp-admin/edit.php2,688 ▼33.24 ▼0.0062.07 ▼6.43139.45 ▼16.07
Add New Post /wp-admin/post-new.php1,798 ▲9818.52 ▼4.24451.30 ▲47.00161.74 ▲0.88
Media Library /wp-admin/upload.php1,698 ▲35.52 ▼0.01137.03 ▼3.68191.23 ▲6.67

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

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


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
4 plugin tags: adminbar, gutenberg, admin bar, fullscreen

admin-bar-in-fullscreen-mode/plugin.php 92% from 13 tests

The principal PHP file in "Admin Bar in Fullscreen Mode" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("admin-bar-in-fullscreen-mode.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected33 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.40
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 functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.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
No PNG images were found in this plugin