73% fullscreen-menu-awesome

Code Review | Fullscreen Menu Awesome by Themes Awesome

WordPress plugin Fullscreen Menu Awesome by Themes Awesome scored73%from 54 tests.

About plugin

  • Plugin page: fullscreen-menu-a...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1
  • WordPress version: 6.3.1
  • First release: Jun 7, 2021
  • Latest release: Dec 16, 2022
  • Number of updates: 8
  • Update frequency: every 69.9 days
  • Top authors: themesawesome (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /588 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲1.81MB] [CPU: ▲13.78ms] Passed 4 tests

This is a short check of server-side resources used by Fullscreen Menu Awesome by Themes Awesome
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /5.25 ▲1.7859.70 ▲17.89
Dashboard /wp-admin5.17 ▲1.8770.60 ▲13.85
Posts /wp-admin/edit.php5.22 ▲1.8771.87 ▲16.98
Add New Post /wp-admin/post-new.php7.70 ▲1.82108.26 ▲12.66
Media Library /wp-admin/upload.php5.01 ▲1.7850.20 ▲11.63

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 557 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fullscreen Menu Awesome by Themes Awesome
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,289 ▲54319.18 ▲4.915.66 ▲3.6441.56 ▼2.14
Dashboard /wp-admin2,542 ▲3549.20 ▲3.36192.92 ▲73.3444.29 ▼2.81
Posts /wp-admin/edit.php2,452 ▲3636.17 ▲4.1586.53 ▲48.5336.01 ▼1.26
Add New Post /wp-admin/post-new.php1,611 ▲9219.66 ▼3.64712.07 ▲32.6451.67 ▲0.98
Media Library /wp-admin/upload.php1,582 ▲1946.72 ▲2.55115.04 ▲14.4946.24 ▲3.71
Go Pro /wp-admin/crb_carbon_fields_container_fullscreen_go_pro.php260.440.1213.24
Fullscreen Menu /wp-admin/crb_carbon_fields_container_fullscreen_menu_awesome_opts.php260.440.087.33
Documentation /wp-admin/crb_carbon_fields_container_fullscreen_docs.php260.440.107.08

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 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
Please fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
  • 126× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/fullscreen-menu-awesome/public/menu-styles/menu-style-5.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Parent_ID_Condition.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Current_User_ID_Condition.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Hidden_Field.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Custom_Comparer.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\File_Field' not found in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Image_Field.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Condition.php:30
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Equality_Comparer.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Carbon_Fields\\Provider\\add_filter() in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Provider/Container_Condition_Provider.php:254
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/fullscreen-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Set_Field.php:12

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
    • > GET request to /wp-admin/crb_carbon_fields_container_fullscreen_go_pro.php
    • > Network (severe)
    wp-admin/crb_carbon_fields_container_fullscreen_go_pro.php - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/crb_carbon_fields_container_fullscreen_menu_awesome_opts.php
    • > Network (severe)
    wp-admin/crb_carbon_fields_container_fullscreen_menu_awesome_opts.php - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/crb_carbon_fields_container_fullscreen_docs.php
    • > Network (severe)
    wp-admin/crb_carbon_fields_container_fullscreen_docs.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: horizontal menu, navigation layout, custom menu, menu layout, menu...

fullscreen-menu-awesome/fullscreen-menu-awesome.php Passed 13 tests

The entry point to "Fullscreen Menu Awesome by Themes Awesome" version 1.0.1 is a PHP file that has certain tags in its header comment area
54 characters long description:
Fullscreen Menu Plugin For WordPress By Themes Awesome

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected36,249 lines of code in 477 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1985,6959,49616,702
PHP1722,9797,24910,898
CSS146111,1703,608
PO File278231,0242,223
Sass5037101,953
JSON1000671
Markdown5460151
SVG10043

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity8.07
▷ Minimum class complexity1.00
▷ Maximum class complexity50.00
Average method complexity2.04
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces26
Interfaces6
Traits0
Classes133
▷ Abstract classes118.27%
▷ Concrete classes12291.73%
▷ Final classes10.82%
Methods957
▷ Static methods10911.39%
▷ Public methods78181.61%
▷ Protected methods16617.35%
▷ Private methods101.04%
Functions117
▷ Named functions3126.50%
▷ Anonymous functions8673.50%
Constants38
▷ Global constants1334.21%
▷ Class constants2565.79%
▷ Public constants25100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
public/img/date-icon.png0.14KB0.18KB0.00%
public/img/date-icon-vertical.png0.95KB0.17KB▼ 82.60%
public/img/vertical-8.png0.11KB0.11KB▼ 0.85%
public/img/timeline-vertical-bg.png0.91KB0.10KB▼ 89.19%
public/img/timeline-bg.png0.08KB0.10KB0.00%