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.49MB] [CPU: ▼23.50ms] Passed 4 tests
Server-side resources used by Local Search SEO Contact Page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 33.00 ▼9.82 |
Dashboard /wp-admin | 3.42 ▲0.12 | 31.60 ▼18.40 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 37.19 ▼13.68 |
Add New Post /wp-admin/post-new.php | 3.46 ▼2.43 | 39.75 ▼52.09 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 32.76 ▼3.94 |
Settings /wp-admin/admin.php?page=local_search_seo_contact_page_settings | 3.41 | 29.98 |
Edit Location /wp-admin/post-new.php?post_type=ebs_location | 3.46 | 42.08 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
ebs_seo_cp_upgrade_premium_dismiss |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Local Search SEO Contact Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.27 ▼0.09 | 1.72 ▼0.17 | 39.26 ▼6.69 |
Dashboard /wp-admin | 2,235 ▲58 | 5.69 ▲0.12 | 96.79 ▲2.88 | 40.73 ▼1.12 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.04 ▲0.06 | 37.55 ▲1.47 | 37.91 ▲2.35 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.39 ▼0.14 | 683.85 ▲35.58 | 53.65 ▼4.76 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.21 ▲0.01 | 104.67 ▼1.67 | 49.31 ▲1.38 |
Settings /wp-admin/admin.php?page=local_search_seo_contact_page_settings | 1,184 | 3.62 | 56.42 | 31.78 |
Edit Location /wp-admin/post-new.php?post_type=ebs_location | 2,697 | 3.84 | 66.42 | 57.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- ebs_seo_cp_upgrade_premium_dismiss
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ebs_location
- > Notice in wp-content/plugins/local-search-seo-contact-page/local-search-seo-contact-page-functions.php+188
Undefined index: post_type
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ebs_location
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ebs_location
- > Notice in wp-content/plugins/local-search-seo-contact-page/local-search-seo-contact-page-settings.php+202
Undefined index: page
- 7 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ebs_location
- > Notice in wp-content/plugins/local-search-seo-contact-page/local-search-seo-contact-page-meta-boxes.php+298
Undefined variable: check
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/local-search-seo-contact-page/local-search-seo-contact-page-functions.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/local-search-seo-contact-page/local-search-seo-contact-page-contextual-help.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/local-search-seo-contact-page/local-search-seo-contact-page-settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/local-search-seo-contact-page/local-search-seo-contact-page-functions.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/local-search-seo-contact-page/local-search-seo-contact-page-meta-boxes.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: local, schema, structured data, seo, contact
local-search-seo-contact-page/local-search-seo-contact-page-output.php 92% from 13 tests
This is the main PHP file of "Local Search SEO Contact Page" version 4.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("local-search-seo-contact-page.php" instead of "local-search-seo-contact-page-output.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,756 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 167 | 462 | 1,638 |
JavaScript | 2 | 4 | 2 | 85 |
CSS | 2 | 13 | 42 | 33 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 37 | |
▷ Named functions | 37 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Expert-Business-Search-Com-Local-SEO-Plugin-Google-My-Business-Logo.png | 1.43KB | 1.49KB | 0.00% |
images/Expert-Business-Search-Com-Local-SEO-Plugin-Digg-Logo.png | 4.12KB | 1.50KB | ▼ 63.71% |
images/Expert-Business-Search-Com-Local-SEO-Plugin-Twitter-Logo.png | 4.62KB | 1.70KB | ▼ 63.31% |
images/Expert-Business-Search-Com-Local-SEO-Plugin-Google-Plus-Logo.png | 4.45KB | 1.64KB | ▼ 63.20% |
images/Expert-Business-Search-Com-Local-SEO-Plugin-LinkedIn-Logo.png | 4.03KB | 1.44KB | ▼ 64.21% |