Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/nashr-seo/includes/mnbaa_functions.php+233
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼1.93MB] [CPU: ▼53.71ms] Passed 4 tests
Analyzing server-side resources used by NASHR SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 4.49 ▼34.36 |
Dashboard /wp-admin | 2.07 ▼1.23 | 5.33 ▼46.07 |
Posts /wp-admin/edit.php | 2.07 ▼1.28 | 4.63 ▼44.72 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.81 | 4.70 ▼89.68 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 6.11 ▼27.63 |
Archive Page Setting /wp-admin/admin.php?page=mnbaa_archive_page_seo | 2.07 | 5.81 |
Nashr SEO /wp-admin/admin.php?page=mnbaa_seo | 2.07 | 6.23 |
Social Media /wp-admin/admin.php?page=mnbaa_social_seo | 2.07 | 5.22 |
Index Page Setting /wp-admin/admin.php?page=mnbaa_index_page_seo | 2.07 | 7.30 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
mnbaa_seo__archive |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
mnbaa_seo_screens |
widget_recent-posts |
mnbaa_seo_private_update |
Browser metrics Passed 4 tests
A check of browser resources used by NASHR SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,065 ▲308 | 14.50 ▼0.18 | 10.53 ▲8.36 | 38.16 ▼11.14 |
Dashboard /wp-admin | 2,257 ▲102 | 5.18 ▼0.58 | 106.06 ▲2.48 | 82.84 ▲43.24 |
Posts /wp-admin/edit.php | 2,163 ▲74 | 2.59 ▲0.62 | 35.25 ▼1.98 | 37.02 ▲2.72 |
Add New Post /wp-admin/post-new.php | 6,920 ▲5,378 | 20.33 ▲2.12 | 857.98 ▲240.54 | 40.61 ▼18.10 |
Media Library /wp-admin/upload.php | 1,457 ▲66 | 4.58 ▲0.36 | 93.44 ▼9.22 | 89.45 ▲45.65 |
Archive Page Setting /wp-admin/admin.php?page=mnbaa_archive_page_seo | 1,311 | 2.43 | 37.41 | 34.04 |
Nashr SEO /wp-admin/admin.php?page=mnbaa_seo | 926 | 2.17 | 28.36 | 25.99 |
Social Media /wp-admin/admin.php?page=mnbaa_social_seo | 1,043 | 2.29 | 30.98 | 25.44 |
Index Page Setting /wp-admin/admin.php?page=mnbaa_index_page_seo | 1,284 | 2.57 | 38.65 | 35.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the custom-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options detected upon uninstall: 9 options
- mnbaa_seo__archive
- db_upgraded
- mnbaa_seo_private_update
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- mnbaa_seo_screens
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the custom-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the limit handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the selectall handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the mytabs handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the nashr-autocomplete handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the ajax-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the ajax-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the ajax-nashr handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the ajax-nashr handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > Deprecated in wp-content/plugins/nashr-seo/includes/mnbaa_functions.php+233
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- > GET request to /wp-admin/admin.php?page=mnbaa_archive_page_seo
- > Notice in wp-content/plugins/nashr-seo/includes/mnbaa_functions.php+161
Trying to get property 'mnbaa_seo_title' of non-object
- > GET request to /wp-admin/admin.php?page=mnbaa_archive_page_seo
- > Notice in wp-content/plugins/nashr-seo/includes/mnbaa_functions.php+164
Trying to get property 'mnbaa_seo_description' of non-object
- > GET request to /wp-admin/admin.php?page=mnbaa_archive_page_seo
- > Notice in wp-content/plugins/nashr-seo/includes/wp_functions.php+1205
Undefined index: mnbaa_seo_archive
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > Notice in wp-content/plugins/nashr-seo/includes/wp_functions.php+900
Undefined variable: prefix
SRP 50% 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
Almost there! Just fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/nashr-seo/includes/arrays.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/nashr-seo/includes/general_setting.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/nashr-seo/NashrSEO.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/nashr-seo/views/license_page.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mnbaa_index_page_seo
- > Network (severe)
wp-content/plugins/nashr-seo/js/jquery-ui.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: There are too many tags (23 tag instead of maximum 10)
nashr-seo/NashrSEO.php 92% from 13 tests
The main file in "NASHR SEO" v. 1.6.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("nashr-seo.php" instead of "NashrSEO.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,367 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 289 | 100 | 1,725 |
CSS | 2 | 23 | 4 | 241 |
PO File | 1 | 97 | 134 | 219 |
JavaScript | 7 | 46 | 21 | 182 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 56 | |
▷ Named functions | 56 | 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
6 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 9.64KB | 6.50KB | ▼ 32.60% |
screenshot-2.png | 42.36KB | 22.99KB | ▼ 45.74% |
images/seo-icon.png | 3.19KB | 0.77KB | ▼ 75.83% |
screenshot-5.png | 24.35KB | 16.11KB | ▼ 33.85% |
screenshot-4.png | 19.95KB | 14.30KB | ▼ 28.33% |