77% everest-admin-theme-lite

Code Review | WordPress Backend Customizer - Everest Admin Theme Lite

WordPress plugin WordPress Backend Customizer - Everest Admin Theme Lite scored 77% from 54 tests.

About plugin

  • Plugin page: everest-admin-the...
  • Plugin version: 1.0.8
  • PHP compatiblity: 5.3.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.8
  • WordPress version: 5.9.2
  • First release: Feb 6, 2018
  • Latest release: Dec 9, 2021
  • Number of updates: 15
  • Update frequency: every 93.5 days
  • Top authors: Access Keys (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active / 18,469 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.16MB] [CPU: ▼311.91ms] Passed 4 tests

An overview of server-side resources used by WordPress Backend Customizer - Everest Admin Theme Lite
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.73 ▲0.2154.63 ▼1.72
Dashboard /wp-admin3.47 ▲0.0624.39 ▼11.65
Posts /wp-admin/edit.php3.57 ▼0.0725.20 ▼12.99
Add New Post /wp-admin/post-new.php6.19 ▼0.7876.78 ▼1,219.01
Media Library /wp-admin/upload.php3.44 ▲0.1420.99 ▼4.00
Documentation /wp-admin/admin.php?page=eat-documentation-wp3.2519.36
Plugin Settings /wp-admin/admin.php?page=everest-admin-theme-lite3.4423.30
About /wp-admin/admin.php?page=everest-admin-lite-menu-about3.4422.45
Check Premium Version /wp-admin/admin.php?page=eat-premium-wp3.2518.33

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 77 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by WordPress Backend Customizer - Everest Admin Theme Lite
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,111 ▲35718.55 ▲2.816.83 ▲0.672.23 ▼0.40
Dashboard /wp-admin3,213 ▲3598.13 ▲1.89151.08 ▲16.72158.51 ▼1.03
Posts /wp-admin/edit.php3,045 ▲3885.52 ▲2.2787.79 ▲23.59140.32 ▼2.54
Add New Post /wp-admin/post-new.php1,755 ▲3616.78 ▼5.17418.66 ▼2.74150.81 ▼8.28
Media Library /wp-admin/upload.php1,824 ▲1326.40 ▲0.91118.73 ▼28.84188.39 ▼16.30
Documentation /wp-admin/admin.php?page=eat-documentation-wp1,4139.87315.10235.13
Plugin Settings /wp-admin/admin.php?page=everest-admin-theme-lite5,45613.60272.56159.15
About /wp-admin/admin.php?page=everest-admin-lite-menu-about1,99512.41243.60186.98
Check Premium Version /wp-admin/admin.php?page=eat-premium-wp1,4199.42317.85171.38

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
This plugin's uninstaller ran successfully

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=everest-admin-lite-menu-about
    • > Notice in wp-content/plugins/everest-admin-theme-lite/inc/frontend/dynamic.css.php+50
    Undefined index: type
  • 20 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=everest-admin-lite-menu-about
    • > Notice in wp-content/plugins/everest-admin-theme-lite/inc/frontend/dynamic.css.php+102
    Undefined variable: template
  • 14 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=everest-admin-lite-menu-about
    • > Notice in wp-content/plugins/everest-admin-theme-lite/everest-admin-theme-lite.php+93
    Trying to access array offset on value of type bool
  • 22 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=everest-admin-lite-menu-about
    • > Notice in wp-content/plugins/everest-admin-theme-lite/inc/frontend/admin_dashboard.php+78
    Trying to access array offset on value of type null
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=everest-admin-lite-menu-about
    • > Notice in wp-content/plugins/everest-admin-theme-lite/inc/frontend/admin_dashboard.php+69
    Undefined variable: template_class

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 24× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
    • > /wp-content/plugins/everest-admin-theme-lite/inc/backend/about.php
    • > /wp-content/plugins/everest-admin-theme-lite/inc/backend/main_page.php
    • > /wp-content/plugins/everest-admin-theme-lite/inc/backend/parts/admin-menu-management.php
    • > /wp-content/plugins/everest-admin-theme-lite/inc/backend/plugin-settings.php
    • > /wp-content/plugins/everest-admin-theme-lite/everest-admin-theme-lite.php
    • > /wp-content/plugins/everest-admin-theme-lite/inc/backend/parts/admin-bar-management.php
    • > /wp-content/plugins/everest-admin-theme-lite/inc/backend/common/footer.php
    • > /wp-content/plugins/everest-admin-theme-lite/inc/backend/parts/footer-info-management.php
    • > /wp-content/plugins/everest-admin-theme-lite/inc/backend/parts/dashboard-management.php
    • > /wp-content/plugins/everest-admin-theme-lite/inc/frontend/admin_footer.php
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/everest-admin-theme-lite/inc/backend/eat-sidebar.php:14
    • > PHP Warning
      Use of undefined constant EAT_ADMIN_THEME_IMAGE_DIR - assumed 'EAT_ADMIN_THEME_IMAGE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/everest-admin-theme-lite/inc/backend/eat-sidebar.php on line 8

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
    • > GET request to /wp-admin/admin.php?page=eat-documentation-wp
    • > Javascript (severe) in unknown
    https://accesspressthemes.com/documentation/everest-admin-theme-lite/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=eat-premium-wp
    • > Network (severe)
    https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=everest-admin-lite-menu-about
    • > Javascript (severe) in unknown
    /wp-content/plugins/everest-admin-theme-lite/js/wp-color-picker-alpha.js?ver=2.1.2 18:16 Uncaught ReferenceError: wpColorPickerL10n is not defined
    • > GET request to /wp-admin/admin.php?page=eat-premium-wp
    • > Javascript (severe) in unknown
    https://accesspressthemes.com/wordpress-plugins/everest-admin-theme/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Optimizations

Plugin configuration Passed 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
7 plugin tags: admin theme, backend design, admin layouts, admin customizer, wordpress backend theme...

everest-admin-theme-lite/everest-admin-theme-lite.php Passed 13 tests

The primary PHP file in "WordPress Backend Customizer - Everest Admin Theme Lite" version 1.0.8 is used by WordPress to initiate all plugin functionality
82 characters long description:
A plugin to change the admin interface with various dynamic configuration options.

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
Everything looks great! No dangerous files found in this plugin19,767 lines of code in 47 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript101,2251,3589,843
CSS111241685,656
SVG1002,671
PHP25217921,597

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity45.00
▷ Minimum class complexity45.00
▷ Maximum class complexity45.00
Average method complexity2.69
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods26
▷ Static methods519.23%
▷ Public methods26100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants10100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 1.40MB with 1.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/header-logo.png10.39KB4.58KB▼ 55.95%
images/googleplus.png1.91KB0.99KB▼ 48.06%
images/theme.png52.01KB17.38KB▼ 66.59%
images/eat-upgrade-to-pro.png542.41KB21.77KB▼ 95.99%
images/eat-upgrade-to-pro-features.png785.68KB21.91KB▼ 97.21%