Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.09ms] Passed 4 tests
Server-side resources used by Logic Hop Personalization for Beaver Builder Add-on
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.65 ▼0.98 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.06 ▼0.58 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.04 ▲2.44 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.64 ▼0.82 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.19 ▲2.03 |
Server storage [IO: ▲0.46MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Logic Hop Personalization for Beaver Builder Add-on
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲107 | 13.30 ▼0.99 | 1.67 ▲0.08 | 38.79 ▼3.38 |
Dashboard /wp-admin | 2,220 ▲28 | 5.85 ▲0.89 | 112.78 ▲7.00 | 43.63 ▲4.57 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.03 ▲0.05 | 40.84 ▲2.95 | 35.81 ▲4.54 |
Add New Post /wp-admin/post-new.php | 1,545 ▲9 | 23.11 ▼0.16 | 613.71 ▲6.83 | 52.27 ▲3.69 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.24 ▲0.12 | 98.39 ▼0.52 | 41.85 ▲0.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: personalization, personalized content, form, logic hop, beaver builder
logic-hop-beaver-builder/logichop_beaver_builder.php 92% from 13 tests
The principal PHP file in "Logic Hop Personalization for Beaver Builder Add-on" v. 1.0.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("logic-hop-beaver-builder.php" instead of "logichop_beaver_builder.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin409 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 91 | 189 | 292 |
JavaScript | 1 | 10 | 0 | 69 |
CSS | 1 | 3 | 0 | 48 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.43MB with 0.25MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 224.53KB | 94.93KB | ▼ 57.72% |
screenshot-2.png | 220.25KB | 95.28KB | ▼ 56.74% |