Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▲2.55ms] Passed 4 tests
This is a short check of server-side resources used by Probuilder - Visual live CSS editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 51.89 ▲1.12 |
Dashboard /wp-admin | 3.34 ▲0.04 | 59.28 ▲1.02 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 53.15 ▼2.04 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 128.92 ▲30.39 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 46.95 ▲10.11 |
Settings /wp-admin/admin.php?page=probuilder-settings | 3.23 | 38.75 |
Probuilder /wp-admin/admin.php?page=probuilder | 3.23 | 39.41 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 13 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_probuilder |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
probuilder_db_version |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Probuilder - Visual live CSS editor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,990 ▲1,201 | 14.26 ▲0.67 | 12.43 ▲10.40 | 58.19 ▲17.88 |
Dashboard /wp-admin | 2,290 ▲90 | 5.42 ▼0.38 | 116.54 ▲7.55 | 45.34 ▲7.19 |
Posts /wp-admin/edit.php | 2,149 ▲60 | 2.53 ▲0.48 | 35.42 ▼5.19 | 42.68 ▲5.11 |
Add New Post /wp-admin/post-new.php | 1,622 ▲88 | 24.76 ▲1.67 | 686.48 ▼52.74 | 29.68 ▼32.28 |
Media Library /wp-admin/upload.php | 1,472 ▲87 | 4.67 ▲0.47 | 101.10 ▼0.88 | 42.86 ▼0.29 |
Settings /wp-admin/admin.php?page=probuilder-settings | 1,018 | 2.46 | 32.92 | 32.21 |
Probuilder /wp-admin/admin.php?page=probuilder | 2,618 | 7.73 | 266.71 | 356.02 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_probuilder
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- probuilder_db_version
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/probuilder/probuilder.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=probuilder
- > Javascript (severe) in unknown
http://cdn.iubenda.com/cs/tcf/stub.js 0:1328 Uncaught DOMException: Blocked a frame with origin "http://www.lingulo.com" from accessing a cross-origin frame.
- > GET request to /wp-admin/admin.php?page=probuilder
- > Javascript (severe) in unknown
http://www.lingulo.com/wp-content/plugins/contact-form-7/modules/recaptcha/script.js?ver=5.3.2 27:2 Uncaught ReferenceError: grecaptcha is not defined
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: css editor, edit layout, css, change style, live css...
probuilder/probuilder.php Passed 13 tests
Analyzing the main PHP file in "Probuilder - Visual live CSS editor" version 0.0.1
60 characters long description:
Probuilder is the first live visual CSS editor for everyone.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin16,590 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 4,071 | 3,941 | 14,704 |
CSS | 2 | 114 | 15 | 1,240 |
PHP | 2 | 60 | 10 | 646 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
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 | 1 | 4.76% |
▷ Public methods | 20 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.76% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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
1 PNG file occupies 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |