Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/felix-landing-pages/inc/class/class.Felix_LandPlugin.php+107
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.08MB] [CPU: ▼295.11ms] Passed 4 tests
Analyzing server-side resources used by Felix Landing Page
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.17 | 62.83 ▼11.32 |
Dashboard /wp-admin | 3.51 ▲0.11 | 41.77 ▲5.34 |
Posts /wp-admin/edit.php | 3.74 ▲0.10 | 44.69 ▲5.40 |
Add New Post /wp-admin/post-new.php | 6.97 ▲0.00 | 104.17 ▼1,179.35 |
Media Library /wp-admin/upload.php | 3.39 ▲0.09 | 30.80 ▲4.89 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 5.24 | 63.07 |
Landing Page /wp-admin/options-general.php?page=landing-page-admin | 3.36 | 29.93 |
Server storage [IO: ▲1.82MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 4 new options
New WordPress options |
---|
felix_landing_page_template |
widget_recent-comments |
widget_recent-posts |
felix_landing_page_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Felix Landing Page
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,791 ▲69 | 16.01 ▲0.84 | 7.24 ▲1.50 | 2.27 ▼0.23 |
Dashboard /wp-admin | 2,904 ▲49 | 6.30 ▲0.11 | 116.50 ▼32.64 | 163.47 ▼12.57 |
Posts /wp-admin/edit.php | 2,700 ▲6 | 3.25 ▲0.00 | 62.67 ▼3.52 | 196.61 ▲51.15 |
Add New Post /wp-admin/post-new.php | 1,669 ▲8 | 15.55 ▼1.54 | 423.88 ▲2.43 | 161.87 ▼47.09 |
Media Library /wp-admin/upload.php | 1,711 ▲16 | 5.53 ▲0.00 | 166.14 ▲11.76 | 205.21 ▼20.89 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 10,021 | 20.91 | 624.46 | 194.61 |
Landing Page /wp-admin/options-general.php?page=landing-page-admin | 1,081 | 2.43 | 54.68 | 114.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 4 options
- widget_recent-comments
- felix_landing_page_template
- felix_landing_page_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-includes/class-wp-customize-nav-menus.php+1152
Trying to get property 'title' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-navbar.php
- > /wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-content.php
- > /wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-jumbotron.php
- > /wp-content/plugins/felix-landing-pages/bootstrap.php
- > /wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-footer.php
- 66× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/felix-landing-pages/inc/customizer/panels/products.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-content.php on line 18
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/felix-landing-pages/inc/customizer/panels/navbar.php:6
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-articles.php on line 24
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-jumbotron.php on line 56
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/felix-landing-pages/inc/customizer/panels/general.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-content.php on line 44
- > PHP Notice
Undefined variable: options in wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-content.php on line 24
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-jumbotron.php on line 38
- > PHP Notice
Undefined variable: options in wp-content/plugins/felix-landing-pages/inc/templates/landing_page/parts/part-products.php on line 22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Landing Page Template), #2 (Landing Page Customizer)
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
felix-landing-pages/bootstrap.php 92% from 13 tests
Analyzing the main PHP file in "Felix Landing Page" version 1.0.0
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("felix-landing-pages.php" instead of "bootstrap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin9,549 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 598 | 110 | 7,208 |
PHP | 28 | 661 | 541 | 1,635 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 3 | 20 | 8 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 1 | 2.70% |
▷ Public methods | 31 | 83.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 16.22% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin