Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼141.29ms] Passed 4 tests
A check of server-side resources used by Footer Design For Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 46.20 ▲24.30 |
Dashboard /wp-admin | 3.12 ▲0.07 | 51.14 ▲2.50 |
Posts /wp-admin/edit.php | 3.21 ▲0.10 | 48.64 ▼0.15 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.05 | 92.15 ▼566.74 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 33.95 ▼0.76 |
All Footeres /wp-admin/edit.php?post_type=wpmp_footer_pt | 3.11 | 34.92 |
Add New /wp-admin/post-new.php?post_type=wpmp_footer_pt | 3.16 | 45.67 |
Settings /wp-admin/edit.php?post_type=wpmp_footer_pt&page=footer_settings | 3.04 | 32.85 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Footer Design For Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,828 ▲232 | 16.18 ▲0.57 | 17.47 ▲6.79 | 51.49 ▲2.21 |
Dashboard /wp-admin | 3,000 ▲66 | 5.92 ▼0.04 | 143.49 ▼17.26 | 145.23 ▲25.71 |
Posts /wp-admin/edit.php | 2,790 ▲51 | 2.68 ▼0.01 | 70.56 ▼1.86 | 86.61 ▼3.88 |
Add New Post /wp-admin/post-new.php | 1,709 ▲128 | 18.64 ▼2.48 | 408.70 ▲23.39 | 109.69 ▼1.61 |
Media Library /wp-admin/upload.php | 1,790 ▼20 | 5.00 ▼0.01 | 134.37 ▼23.80 | 164.93 ▲44.27 |
All Footeres /wp-admin/edit.php?post_type=wpmp_footer_pt | 1,457 | 2.61 | 66.18 | 77.91 |
Add New /wp-admin/post-new.php?post_type=wpmp_footer_pt | 2,865 | 9.04 | 211.84 | 169.94 |
Settings /wp-admin/edit.php?post_type=wpmp_footer_pt&page=footer_settings | 1,102 | 2.09 | 57.38 | 80.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant WPMP_FOOTER_POST_TYPE - assumed 'WPMP_FOOTER_POST_TYPE' (this will throw an Error in a future version of PHP) in wp-content/plugins/footer-design-for-elementor/includes/views/settings.views.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/footer-design-for-elementor/includes/views/settings.views.php:6
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: footer, element builder footer, visual footer, footer for elementor, footer addon elementor...
footer-design-for-elementor/index.php 92% from 13 tests
The primary PHP file in "Footer Design For Elementor" version 1.1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("footer-design-for-elementor.php" instead of "index.php")
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
No dangerous file extensions were detected441 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 24 | 8 | 271 |
PO File | 3 | 36 | 38 | 129 |
Sass | 2 | 0 | 0 | 20 |
CSS | 1 | 3 | 1 | 13 |
JavaScript | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/public/imgs/placeholder.png | 9.01KB | 9.59KB | 0.00% |
assets/admin/imgs/logo_menu.png | 0.28KB | 0.17KB | ▼ 37.68% |