Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.31ms] Passed 4 tests
Analyzing server-side resources used by FunnelFLARE
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.50 ▼0.50 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.65 ▼1.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.10 ▼6.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.15 ▼9.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.33 ▲1.08 |
FunnelFLARE /wp-admin/options-general.php?page=funnelflare_options | 3.18 | 31.71 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by FunnelFLARE
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,101 ▲330 | 15.04 ▲0.65 | 43.38 ▲41.18 | 43.16 ▼1.66 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.03 | 109.30 ▼0.27 | 39.63 ▼1.58 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.05 | 38.70 ▼2.76 | 34.55 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.53 ▲5.46 | 699.62 ▲77.05 | 56.67 ▼5.42 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.23 ▼0.01 | 96.96 ▼4.13 | 48.93 ▲5.46 |
FunnelFLARE /wp-admin/options-general.php?page=funnelflare_options | 844 | 2.19 | 28.81 | 33.85 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=funnelflare_options
- > Notice in wp-content/plugins/funnelflare/funnelflare.php+121
Undefined variable: funnelflare_appkey
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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funnelflare/funnelflare.php:226
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 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
2 plugin tags: tracking script, plugin
funnelflare/funnelflare.php Passed 13 tests
The main PHP file in "FunnelFLARE" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
55 characters long description:
This integrates FunnelFLARE integration to your website
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
Success! There were no dangerous files found in this plugin167 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 53 | 12 | 167 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/funnelflare.png | 15.89KB | 5.00KB | ▼ 68.53% |
images/screenshot.png | 46.36KB | 18.17KB | ▼ 60.81% |
images/favicon.png | 5.46KB | 2.81KB | ▼ 48.59% |