Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼8.69ms] Passed 4 tests
Analyzing server-side resources used by Logic Hop ConvertKit Add-on
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 36.26 ▼4.38 |
Dashboard /wp-admin | 3.44 ▲0.14 | 45.46 ▼2.68 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 46.53 ▼1.32 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 94.86 ▼26.38 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.07 ▲0.18 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Logic Hop ConvertKit Add-on
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.24 ▼1.07 | 1.65 ▲0.04 | 42.47 ▲1.77 |
Dashboard /wp-admin | 2,223 ▲32 | 5.87 ▼0.02 | 101.03 ▼0.22 | 39.61 ▼4.39 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.01 ▼0.04 | 36.57 ▼4.95 | 35.64 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,546 ▲12 | 23.16 ▼0.06 | 603.56 ▼68.32 | 51.80 ▼4.53 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.21 ▲0.10 | 98.49 ▼10.79 | 43.15 ▼2.65 |
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-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- 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
Good news, no errors were detected
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/logic-hop-convertkit-add-on/admin/settings.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: personalized marketing, personalized content, logic hop, convertkit, personalization
logic-hop-convertkit-add-on/logichop_convertkit.php 92% from 13 tests
The entry point to "Logic Hop ConvertKit Add-on" version 3.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("logic-hop-convertkit-add-on.php" instead of "logichop_convertkit.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
Success! There were no dangerous files found in this plugin848 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 180 | 352 | 797 |
JavaScript | 3 | 6 | 0 | 44 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 99.00 |
▷ Minimum class complexity | 99.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected