Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼1.50ms] Passed 4 tests
This is a short check of server-side resources used by WP Responsive Landing Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 49.74 ▲9.35 |
Dashboard /wp-admin | 3.31 ▲0.01 | 38.39 ▼10.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.79 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.63 ▼0.26 | 89.11 ▼3.65 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.35 ▲6.37 |
Add New /wp-admin/admin.php?page=wp-landing&id=&id=9 | 3.30 | 35.89 |
View All /wp-admin/edit.php?post_type=landing-page | 3.35 | 40.55 |
Server storage [IO: ▲5.45MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 88 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_landing_pages |
wp_landing_pages_template |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Responsive Landing Pages
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲120 | 14.75 ▲0.16 | 1.80 ▲0.02 | 39.36 ▼1.64 |
Dashboard /wp-admin | 2,243 ▲55 | 5.76 ▲0.87 | 97.40 ▼3.92 | 43.48 ▲0.82 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.01 ▼0.02 | 38.92 ▲1.73 | 41.64 ▲6.28 |
Add New Post /wp-admin/post-new.php | 1,395 ▼119 | 21.52 ▲4.01 | 509.69 ▼155.97 | 35.97 ▼20.84 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.20 ▲0.02 | 95.56 ▼4.02 | 45.76 ▲1.30 |
Add New /wp-admin/admin.php?page=wp-landing&id=&id=9 | 1,270 | 2.63 | 55.78 | 77.08 |
View All /wp-admin/edit.php?post_type=landing-page | 1,100 | 1.92 | 32.22 | 35.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 2 tables
- wp_landing_pages
- wp_landing_pages_template
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=wp-landing&id=&id=9
- > Notice in wp-content/plugins/wp-responsive-landing-pages/classes/class.admin-menus.php+37
Undefined index: post_type
- > GET request to /wp-admin/admin.php?page=wp-landing&id=&id=9
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-responsive-landing-pages/wp-responsive-landing-pages.php+427
Undefined index: id
- > GET request to /wp-admin/edit.php?post_type=landing-page
- > Notice in wp-content/plugins/wp-responsive-landing-pages/classes/class.admin-menus.php+36
Undefined index: page
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× 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/wp-responsive-landing-pages/classes/class.admin-menus.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=wp-landing&id=&id=9
- > Javascript (severe) in unknown
/wp-content/plugins/wp-responsive-landing-pages/js/bootstrap.min.js?ver=6.3.1 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
- > GET request to /wp-admin/admin.php?page=wp-landing&id=&id=9
- > Console-api (severe) in unknown
/wp-content/plugins/wp-responsive-landing-pages/js/admin/wp-landing.js?ver=6.3.1 325:14 SyntaxError: Unexpected end of JSON inputat JSON.parse ()at HTMLDocument. (/wp-content/plugins/wp-responsive-landing-pages/js/admin/wp-landing.js?ver=6.3.1:319:30)at HTMLDocument.dispatch (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-slider&ver=6.3.1:2:39997)at v.handle (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-slider&ver=6.3.1:2:37968)at Object.trigger (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-slider&ver=6.3.1:2:70063)at e..triggerHandler (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-slider&ver=6.3.1:2:70750)at HTMLDocument. (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-slider&ver=6.3.1:5:10632)at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-slider&ver=6.3.1:2:26990)at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-slider&ver=6.3.1:2:27292)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Contributors: Plugin contributors field is missing
wp-responsive-landing-pages/wp-responsive-landing-pages.php Passed 13 tests
This is the main PHP file of "WP Responsive Landing Pages" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
53 characters long description:
Landing page template framework with variant testing.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected19,361 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 6 | 1 | 0 | 11,257 |
JavaScript | 7 | 730 | 284 | 4,596 |
CSS | 12 | 153 | 146 | 2,691 |
PHP | 5 | 43 | 62 | 815 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 14 | 53.85% |
▷ Public methods | 23 | 88.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 11.54% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.64MB with 0.24MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 4.90KB | 4.30KB | ▼ 12.33% |
images/loading-100x100.png | 3.42KB | 0.32KB | ▼ 90.77% |
images/pattern.png | 648.48KB | 614.32KB | ▼ 5.27% |
images/150-150.png | 3.23KB | 1.99KB | ▼ 38.23% |