89% aweos-admin-style

Code Review | AWEOS Admin Style

WordPress plugin AWEOS Admin Style scored89%from 54 tests.

About plugin

  • Plugin page: aweos-admin-style
  • Plugin version: 1.2.6
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.1
  • WordPress version: 6.3.1
  • First release: Apr 26, 2018
  • Latest release: Oct 16, 2023
  • Number of updates: 13
  • Update frequency: every 153.9 days
  • Top authors: aweos (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,285 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by AWEOS Admin Style
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.85 ▼3.25
Dashboard /wp-admin3.32 ▲0.0150.58 ▲2.68
Posts /wp-admin/edit.php3.37 ▲0.0146.39 ▼4.47
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.51 ▼3.91
Media Library /wp-admin/upload.php3.24 ▲0.0137.78 ▲3.01

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for AWEOS Admin Style
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲1914.25 ▼0.071.70 ▼0.5444.66 ▼1.33
Dashboard /wp-admin2,211 ▲315.55 ▼0.1093.51 ▼3.1141.43 ▲0.14
Posts /wp-admin/edit.php2,116 ▲131.98 ▼0.0035.08 ▼2.3434.76 ▲0.07
Add New Post /wp-admin/post-new.php1,539 ▲1323.19 ▲0.11658.78 ▲34.1356.19 ▲0.25
Media Library /wp-admin/upload.php1,416 ▲224.17 ▲0.00109.56 ▲7.4347.99 ▲2.06

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: blue style, wpadmin, aweos, style

aweos-admin-style/aweos-admin-style.php 85% from 13 tests

The main file in "AWEOS Admin Style" v. 1.2.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters
  • Description: The plugin description must be longer than 10 characters (currently 1 characters long)

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
Everything looks great! No dangerous files found in this plugin140 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS19073
PHP2252067

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions7
▷ Named functions7100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
public/logo-white-wp.png9.43KB4.88KB▼ 48.28%