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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.95MB] [CPU: ▼7.86ms] Passed 4 tests
A check of server-side resources used by NavThemes Landing Pages - Free WordPress Landing Pages Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.66 ▲1.20 | 45.80 ▲3.18 |
Dashboard /wp-admin | 4.54 ▲1.24 | 53.89 ▲6.80 |
Posts /wp-admin/edit.php | 4.58 ▲1.23 | 54.35 ▲4.32 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 54.60 ▼39.19 |
Media Library /wp-admin/upload.php | 4.46 ▲1.23 | 38.78 ▲0.24 |
Landing Pages /wp-admin/admin.php?page=nt-landing-dash | 4.39 | 35.86 |
On Boarding /wp-admin/admin.php?page=nt-landing-onboard | 4.41 | 38.33 |
Setting /wp-admin/admin.php?page=acf-options-setting | 4.50 | 43.06 |
Server storage [IO: ▲11.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 357 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
acf_version |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by NavThemes Landing Pages - Free WordPress Landing Pages Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,043 ▲282 | 16.02 ▲1.67 | 21.80 ▲20.24 | 43.10 ▼1.70 |
Dashboard /wp-admin | 2,279 ▲111 | 6.25 ▲0.59 | 106.09 ▲13.57 | 39.40 ▼3.94 |
Posts /wp-admin/edit.php | 2,167 ▲64 | 3.01 ▲0.99 | 52.43 ▲16.40 | 36.40 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,633 ▲100 | 18.51 ▼4.60 | 647.13 ▼51.84 | 34.76 ▼34.23 |
Media Library /wp-admin/upload.php | 1,503 ▲100 | 5.51 ▲1.29 | 119.32 ▲18.23 | 46.36 ▲5.67 |
Landing Pages /wp-admin/admin.php?page=nt-landing-dash | 1,074 | 2.84 | 36.48 | 28.29 |
On Boarding /wp-admin/admin.php?page=nt-landing-onboard | 1,290 | 2.91 | 35.34 | 50.69 |
Setting /wp-admin/admin.php?page=acf-options-setting | 1,126 | 3.65 | 54.47 | 28.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- acf_version
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/navthemes-landing-pages/navthemes-blocks/carwash/main-form.php
- > /wp-content/plugins/navthemes-landing-pages/navthemes-blocks/carrepair/main-form.php
- > /wp-content/plugins/navthemes-landing-pages/navthemes-blocks/cargo/main-form.php
- > /wp-content/plugins/navthemes-landing-pages/navthemes-blocks/cakes/main-form.php
- 84× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: active in wp-content/plugins/navthemes-landing-pages/admin/includes/admin/views/html-admin-tools.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/navthemes-landing-pages/page-viewdashboard.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/navthemes-landing-pages/admin/includes/admin/settings-addons.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/navthemes-landing-pages/Template-navthemes.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/navthemes-landing-pages/admin/includes/forms/form-widget.php:40
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/navthemes-landing-pages/admin/includes/admin/views/html-location-rule.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/navthemes-landing-pages/admin/includes/fields/class-acf-field-tab.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/navthemes-landing-pages/admin/includes/fields/class-acf-field-textarea.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/navthemes-landing-pages/admin/pro/fields/class-acf-field-repeater.php:5
- > PHP Notice
Undefined variable: license in wp-content/plugins/navthemes-landing-pages/admin/pro/admin/views/html-settings-updates.php on line 4
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=acf-options-setting
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=acf-options-setting 351:19 Uncaught TypeError: Cannot set properties of undefined (setting 'onclick')
Optimizations
Plugin configuration 96% 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: coming soon page, landing page, squeeze page, free landing page, email list...
navthemes-landing-pages/navthemes-landing-pages.php 92% from 13 tests
"NavThemes Landing Pages - Free WordPress Landing Pages Plugin" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
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
Success! There were no dangerous files found in this plugin101,142 lines of code in 242 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 28 | 20,800 | 33,639 | 43,399 |
JavaScript | 24 | 7,686 | 8,589 | 24,463 |
PHP | 146 | 15,385 | 19,748 | 18,961 |
CSS | 36 | 2,585 | 833 | 14,104 |
JSON | 6 | 0 | 0 | 149 |
SVG | 2 | 18 | 1 | 66 |
PHP code Passed 2 tests
An short overview of 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.35 |
Average class complexity | 14.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 115 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 115 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 802 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 802 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 416 | |
▷ Named functions | 415 | 99.76% |
▷ Anonymous functions | 1 | 0.24% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
49 PNG files occupy 0.76MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
recommendedplugindata/image/installeddone5.png | 0.70KB | 0.63KB | ▼ 10.49% |
assets/images/checked.png | 15.28KB | 8.60KB | ▼ 43.69% |
assets/images/ninjaform.png | 4.33KB | 2.32KB | ▼ 46.43% |
admin/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
assets/thumbs/template-cargo.png | 71.35KB | 23.45KB | ▼ 67.13% |