Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.63ms] Passed 4 tests
Analyzing server-side resources used by Mash Manage General Website Information
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.97 ▲5.28 |
Dashboard /wp-admin | 3.34 ▲0.02 | 51.39 ▼31.09 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 58.39 ▲7.25 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 125.01 ▲28.78 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 38.44 ▲0.05 |
Local Business Schema /wp-admin/admin.php?page=mash-local-schema | 3.22 | 34.00 |
Manage Information /wp-admin/admin.php?page=mash-general-info | 3.25 | 33.27 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Mash Manage General Website Information
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲40 | 13.57 ▼1.23 | 2.03 ▲0.21 | 48.58 ▼0.92 |
Dashboard /wp-admin | 2,235 ▲29 | 5.87 ▲0.98 | 99.57 ▼6.01 | 39.98 ▼0.81 |
Posts /wp-admin/edit.php | 2,121 ▲29 | 2.05 ▲0.04 | 41.97 ▲5.94 | 37.35 ▲2.95 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 18.30 ▼4.72 | 641.24 ▼37.44 | 52.86 ▲6.26 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.26 ▲0.01 | 98.39 ▼3.91 | 40.79 ▼5.34 |
Local Business Schema /wp-admin/admin.php?page=mash-local-schema | 920 | 2.07 | 27.07 | 32.54 |
Manage Information /wp-admin/admin.php?page=mash-general-info | 1,159 | 2.09 | 25.30 | 28.60 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=mash-general-info
- > Notice in wp-content/plugins/mash-manage-general-website-information/includes/options-page.php+7
Undefined variable: hidden
- 15 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mash-general-info
- > Notice in wp-content/plugins/mash-manage-general-website-information/includes/options-page.php+100
Trying to access array offset on value of type bool
SRP 50% 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
Almost there! Just fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mash-manage-general-website-information/includes/schema-page.php:32
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/mash-manage-general-website-information/includes/options-page.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mash-manage-general-website-information/includes/options-page.php:30
- > PHP Notice
Undefined variable: options in wp-content/plugins/mash-manage-general-website-information/includes/options-page.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mash-manage-general-website-information/mash-manage-general-website-info.php:36
- > PHP Notice
Undefined variable: hidden in wp-content/plugins/mash-manage-general-website-information/includes/options-page.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: schema generator, general information, theme options, location schema, business information...
mash-manage-general-website-information/mash-manage-general-website-info.php 92% from 13 tests
The main PHP script in "Mash Manage General Website Information" version 0.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("mash-manage-general-website-information.php" instead of "mash-manage-general-website-info.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
Good job! No executable or dangerous file extensions detected330 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 142 | 11 | 278 |
JavaScript | 1 | 19 | 0 | 52 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin