Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼7.02ms] Passed 4 tests
An overview of server-side resources used by Logic Hop Drip Add-on
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 38.24 ▼3.30 |
Dashboard /wp-admin | 3.46 ▲0.16 | 44.09 ▼4.92 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 43.93 ▼2.02 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 89.88 ▼17.84 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 34.63 ▼1.32 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Logic Hop Drip Add-on
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 13.57 ▼0.80 | 2.16 ▲0.37 | 45.57 ▲1.80 |
Dashboard /wp-admin | 2,220 ▲32 | 5.84 ▼0.06 | 100.06 ▼5.07 | 38.61 ▼2.39 |
Posts /wp-admin/edit.php | 2,105 ▲34 | 2.02 ▼0.04 | 36.37 ▼0.14 | 32.58 ▼3.85 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 23.44 ▲0.25 | 666.93 ▲55.82 | 53.95 ▼3.61 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.23 ▲0.03 | 96.82 ▼7.74 | 40.80 ▼3.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/logic-hop-drip-add-on/admin/settings.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: drip, personalized content, logic hop, personalization, personalized marketing
logic-hop-drip-add-on/logichop_drip.php 92% from 13 tests
This is the main PHP file of "Logic Hop Drip Add-on" version 3.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("logic-hop-drip-add-on.php" instead of "logichop_drip.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected849 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 154 | 337 | 798 |
JavaScript | 3 | 6 | 0 | 44 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 99.00 |
▷ Minimum class complexity | 99.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 6.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin