Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.16ms] Passed 4 tests
An overview of server-side resources used by Region City Landing Pages Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.30 ▲1.27 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.98 ▼1.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.46 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.54 ▼11.52 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.20 ▲0.75 |
Region city landing pages builder /wp-admin/options-general.php?page=content_settings | 3.17 | 28.97 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Region City Landing Pages Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.79 ▲0.41 | 1.64 ▼0.06 | 42.99 ▲3.47 |
Dashboard /wp-admin | 2,210 ▲22 | 5.79 ▲0.86 | 102.32 ▼4.13 | 37.93 ▼9.19 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.00 | 33.05 ▼3.78 | 33.61 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▼2 | 23.25 ▲0.24 | 683.21 ▲5.52 | 56.79 ▲1.45 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.27 ▲0.09 | 113.13 ▲7.45 | 55.28 ▲7.15 |
Region city landing pages builder /wp-admin/options-general.php?page=content_settings | 875 | 2.02 | 22.14 | 27.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=content_settings
- > Notice in wp-content/plugins/region-city-landing-pages-builder/region-city-landing-pages-builder.php+102
Undefined index: cityname
- > GET request to /wp-admin/options-general.php?page=content_settings
- > Notice in wp-content/plugins/region-city-landing-pages-builder/region-city-landing-pages-builder.php+143
Undefined index: page_title
- > GET request to /wp-admin/options-general.php?page=content_settings
- > Notice in wp-content/plugins/region-city-landing-pages-builder/region-city-landing-pages-builder.php+149
Undefined index: page_contents
- > GET request to /wp-admin/options-general.php?page=content_settings
- > Notice in wp-content/plugins/region-city-landing-pages-builder/region-city-landing-pages-builder.php+154
Undefined index: action
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/region-city-landing-pages-builder/region-city-landing-pages-builder.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
7 plugin tags: city, landing pages, seo, multiple, states...
region-city-landing-pages-builder/region-city-landing-pages-builder.php 85% from 13 tests
The main file in "Region City Landing Pages Builder" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected142 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 32 | 142 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 2 | |
▷ Named functions | 2 | 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
PNG images were not found in this plugin