84% full-screen-menu-for-elementor

Code Review | Full Screen Menu for Elementor

WordPress plugin Full Screen Menu for Elementor scored 84% from 54 tests.

About plugin

  • Plugin page: full-screen-menu-...
  • Plugin version: 1.0.6
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.0
  • WordPress version: 6.3.1
  • First release: Apr 28, 2018
  • Latest release: Jul 15, 2022
  • Number of updates: 23
  • Update frequency: every 66.9 days
  • Top authors: solitweb (100%)

Code review

54 tests

User reviews

12 reviews

Install metrics

10,000+ active / 102,505 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

Analyzing server-side resources used by Full Screen Menu for Elementor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.19 ▼4.20
Dashboard /wp-admin3.32 ▲0.0246.85 ▼2.70
Posts /wp-admin/edit.php3.37 ▲0.0245.99 ▼2.27
Add New Post /wp-admin/post-new.php5.90 ▲0.0285.62 ▼9.13
Media Library /wp-admin/upload.php3.24 ▲0.0138.66 ▲3.77

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Full Screen Menu for Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲8313.20 ▼1.181.67 ▼0.1942.48 ▼0.84
Dashboard /wp-admin2,224 ▲335.82 ▲0.9395.72 ▼13.2240.46 ▼3.37
Posts /wp-admin/edit.php2,106 ▲171.99 ▼0.0634.36 ▼3.7236.16 ▲0.40
Add New Post /wp-admin/post-new.php1,552 ▲2222.85 ▲4.74607.71 ▼0.2849.52 ▼6.05
Media Library /wp-admin/upload.php1,403 ▲124.30 ▲0.0997.85 ▼1.7842.53 ▼1.15

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/full-screen-menu-for-elementor/full-screen-menu-for-elementor.php:25

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: navmenu, full screen menu, pagebuilder, navigation menu, nav menu...

full-screen-menu-for-elementor/full-screen-menu-for-elementor.php Passed 13 tests

"Full Screen Menu for Elementor" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
73 characters long description:
This plugin adds a full screen menu widget to the Elementor Page Builder.

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 detected724 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP410816615
CSS430109

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity7.67
▷ Minimum class complexity6.00
▷ Maximum class complexity10.00
Average method complexity1.87
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes133.33%
Methods23
▷ Static methods14.35%
▷ Public methods1669.57%
▷ Protected methods28.70%
▷ Private methods521.74%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin