82% 3d-menu-awesome

Code Review | 3D Menu Awesome by Themes Awesome

WordPress plugin 3D Menu Awesome by Themes Awesome scored 82% from 54 tests.

About plugin

  • Plugin page: 3d-menu-awesome
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.9
  • WordPress version: 5.9.2
  • First release: Oct 30, 2020
  • Latest release: Feb 1, 2022
  • Number of updates: 9
  • Update frequency: every 51.2 days
  • Top authors: themesawesome (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 603 total downloads


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: ▲1.88MB] [CPU: ▼278.35ms] Passed 4 tests

Server-side resources used by 3D Menu Awesome by Themes Awesome
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /5.41 ▲1.9076.03 ▲25.57
Dashboard /wp-admin5.29 ▲1.8856.27 ▲22.94
Posts /wp-admin/edit.php5.57 ▲1.9453.07 ▲15.27
Add New Post /wp-admin/post-new.php8.83 ▲1.83106.86 ▼1,162.03
Media Library /wp-admin/upload.php5.21 ▲1.9134.19 ▲10.44
Menus /wp-admin/nav-menus.php5.2755.84

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 554 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for 3D Menu Awesome by Themes Awesome
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,356 ▲61221.40 ▲5.3810.90 ▲4.3317.16 ▲14.79
Dashboard /wp-admin3,296 ▲43510.69 ▲4.42195.80 ▲62.51154.29 ▼11.84
Posts /wp-admin/edit.php3,115 ▲4217.97 ▲4.74114.48 ▲48.83148.32 ▲2.10
Add New Post /wp-admin/post-new.php1,830 ▲16917.35 ▲0.84456.74 ▲52.37161.72 ▲6.11
Media Library /wp-admin/upload.php1,922 ▲2247.89 ▲2.37141.65 ▼4.09187.07 ▼2.79
Go Pro /wp-admin/crb_carbon_fields_container_threed_go_pro.php260.940.0320.02
Documentation /wp-admin/crb_carbon_fields_container_threed_docs.php260.940.0314.92
3D Menu /wp-admin/crb_carbon_fields_container_threed_menu_awesome_opts.php260.940.1115.20
Menus /wp-admin/nav-menus.php3,1898.35163.31146.05

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
Uninstaller ran successfully

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 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
Please take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
  • 124× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Theme_Options_Container' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Network_Container.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Any_Equality_Comparer.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Footer_Scripts_Field.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Post_Meta_Container.php:14
    • > PHP Notice
      Undefined variable: errors in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 35
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/templates/Container/user_meta.php:1
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Custom_Comparer.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Ancestor_Condition.php:28
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Multiselect_Field.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Fulfillable\\Translator\\Translator' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Fulfillable/Translator/Array_Translator.php:10

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 fix the following browser errors
    • > GET request to /wp-admin/crb_carbon_fields_container_threed_go_pro.php
    • > Network (severe)
    wp-admin/crb_carbon_fields_container_threed_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_threed_docs.php
    • > Network (severe)
    wp-admin/crb_carbon_fields_container_threed_docs.php - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/crb_carbon_fields_container_threed_menu_awesome_opts.php
    • > Network (severe)
    wp-admin/crb_carbon_fields_container_threed_menu_awesome_opts.php - Failed to load resource: the server responded with a status of 404 (Not Found)


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: custom nav, custom menu, navigation layout, menu, menu layout...

3d-menu-awesome/threed-menu-awesome.php 85% from 13 tests

This is the main PHP file of "3D Menu Awesome by Themes Awesome" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Main file name: The principal plugin file should be the same as the plugin slug ("3d-menu-awesome.php" instead of "threed-menu-awesome.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected31,064 lines of code in 471 files:
LanguageFilesBlank linesComment linesLines of code
PO File216147831,673

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity8.05
▷ Minimum class complexity1.00
▷ Maximum class complexity50.00
Average method complexity2.05
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
▷ Abstract classes118.09%
▷ Concrete classes12591.91%
▷ Final classes10.80%
▷ Static methods10210.58%
▷ Public methods78881.74%
▷ Protected methods16617.22%
▷ Private methods101.04%
▷ Named functions3729.84%
▷ Anonymous functions8770.16%
▷ Global constants1435.90%
▷ Class constants2564.10%
▷ Public constants25100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/menu3d-2.png5.09KB2.46KB▼ 51.74%
assets/menu3d-4.png2.89KB1.54KB▼ 46.75%
assets/menu3d-1.png5.06KB2.30KB▼ 54.60%
assets/menu3d-3.png4.59KB3.03KB▼ 33.96%
assets/menu3d-6.png3.79KB2.12KB▼ 44.14%