Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.32ms] Passed 4 tests
Server-side resources used by Admin Right Click Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.66 ▼3.31 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.06 ▼5.36 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.37 ▼0.85 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 92.60 ▼11.77 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 38.89 ▲1.66 |
Admin Right Click Menu /wp-admin/options-general.php?page=arcm_options | 3.22 | 32.73 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Right Click Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲109 | 13.64 ▼0.73 | 6.30 ▲4.46 | 41.39 ▼4.58 |
Dashboard /wp-admin | 2,225 ▲22 | 4.78 ▼1.12 | 109.67 ▼5.47 | 38.49 ▼12.92 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.04 | 41.65 ▲5.25 | 35.25 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,550 ▲8 | 23.16 ▲4.83 | 615.40 ▼50.51 | 54.06 ▲2.25 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.27 ▲0.03 | 99.32 ▼9.82 | 46.25 ▼1.50 |
Admin Right Click Menu /wp-admin/options-general.php?page=arcm_options | 1,131 | 2.04 | 22.51 | 30.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=arcm_options
- > Notice in wp-content/plugins/admin-right-click-menu/admin-right-click-menu.php+253
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-right-click-menu/admin-right-click-menu.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: toolbar, context, adminbar, context-menu, contextmenu...
admin-right-click-menu/admin-right-click-menu.php Passed 13 tests
"Admin Right Click Menu" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
85 characters long description:
The default WP Admin Toolbar (frontend) is moved to a right click menu (context menu)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected334 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 13 | 34 | 223 |
CSS | 1 | 0 | 0 | 91 |
JavaScript | 1 | 2 | 1 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin