Benchmarks
Plugin footprint 82% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.04ms] Passed 4 tests
A check of server-side resources used by DC - Full Screen Responsive Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 31.14 ▼8.46 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.53 ▲1.10 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.91 ▲1.54 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.82 ▼38.34 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.92 ▲1.96 |
DC FullScreen Menu /wp-admin/themes.php?page=dc_fullscreen_menu_list | 3.23 | 35.49 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/dc-full-screen-responsive-menu/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
DC - Full Screen Responsive Menu: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲89 | 13.47 ▼1.08 | 2.53 ▲0.57 | 46.81 ▲7.64 |
Dashboard /wp-admin | 2,247 ▲44 | 5.16 ▲0.24 | 105.80 ▼3.36 | 42.10 ▼1.75 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.29 ▲0.29 | 39.91 ▼1.53 | 34.26 ▼4.15 |
Add New Post /wp-admin/post-new.php | 1,545 ▲7 | 23.21 ▲0.05 | 716.51 ▲118.90 | 37.50 ▼9.65 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.47 ▲0.26 | 97.89 ▼6.40 | 39.96 ▼8.06 |
DC FullScreen Menu /wp-admin/themes.php?page=dc_fullscreen_menu_list | 810 | 1.96 | 26.15 | 27.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/dc-full-screen-responsive-menu/views/admin.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: menus in wp-content/plugins/dc-full-screen-responsive-menu/views/admin.php on line 39
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/dc-full-screen-responsive-menu/views/menu.php:2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/dc-full-screen-responsive-menu/views/admin.php on line 39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dc-full-screen-responsive-menu/fullscreen_menu.php:10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
5 plugin tags: responsive, overlay, menu, wordpress, fullscreen
dc-full-screen-responsive-menu/fullscreen_menu.php 92% from 13 tests
"DC - Full Screen Responsive Menu" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dc-full-screen-responsive-menu.php" instead of "fullscreen_menu.php")
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
Everything looks great! No dangerous files found in this plugin430 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 15 | 14 | 210 |
CSS | 1 | 3 | 41 | 121 |
JavaScript | 2 | 13 | 13 | 99 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close.png | 0.99KB | 0.98KB | ▼ 0.79% |
images/star.png | 3.42KB | 2.03KB | ▼ 40.65% |
images/star_16x16.png | 0.67KB | 0.73KB | 0.00% |