Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.05ms] Passed 4 tests
An overview of server-side resources used by Punnel - Landing Page Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.05 ▼4.34 |
Dashboard /wp-admin | 3.33 ▲0.03 | 54.61 ▲3.63 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.18 ▼2.96 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.25 ▼13.99 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.36 ▼2.91 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Punnel - Landing Page Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲66 | 13.19 ▼1.36 | 2.13 ▲0.15 | 42.67 ▼6.40 |
Dashboard /wp-admin | 2,233 ▲29 | 4.85 ▼0.08 | 105.82 ▼4.55 | 40.40 ▼6.93 |
Posts /wp-admin/edit.php | 2,163 ▲63 | 2.00 ▲0.03 | 36.75 ▼4.67 | 34.61 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,561 ▲29 | 23.54 ▲0.44 | 664.64 ▲6.54 | 56.01 ▼7.80 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.13 ▼0.07 | 101.48 ▼14.96 | 43.33 ▼6.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/punnel-landing-page-builder/punnel.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/punnel-landing-page-builder/add-template.php:160
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/punnel-landing-page-builder/null-template.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (assets/icon-256x256.jpg), #2 (assets/banner-1544x500.jpg)
punnel-landing-page-builder/punnel.php 92% from 13 tests
The main file in "Punnel - Landing Page Builder" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("punnel-landing-page-builder.php" instead of "punnel.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected554 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 91 | 62 | 554 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 2 | 9.09% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 1 | 4.55% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin