Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.61ms] Passed 4 tests
Server-side resources used by Klawoo Connector
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.03 ▼5.23 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.57 ▲3.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.56 ▼2.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.27 ▼10.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.27 ▼0.40 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wc_klawoo |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
wc_klawoo_smtp_settings |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Klawoo Connector
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.12 | 1.84 ▲0.24 | 45.30 ▲6.61 |
Dashboard /wp-admin | 2,206 ▲20 | 4.83 ▼1.24 | 102.32 ▼10.04 | 39.64 ▲0.27 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.02 | 40.24 ▼0.01 | 34.39 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.55 ▼0.64 | 678.40 ▲84.80 | 63.43 ▲13.74 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.01 | 98.05 ▼6.53 | 42.65 ▼4.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_wc_klawoo
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- wc_klawoo_smtp_settings
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/klawoo-connector/klawoo-connector.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
klawoo-connector/klawoo-connector.php 92% from 13 tests
The entry point to "Klawoo Connector" version 1.9 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.3" instead of "2.0.0")
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 plugin1,859 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 525 | 113 | 1,511 |
JavaScript | 1 | 123 | 34 | 315 |
CSS | 1 | 5 | 0 | 33 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 302.00 |
▷ Minimum class complexity | 302.00 |
▷ Maximum class complexity | 302.00 |
Average method complexity | 16.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.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 | 1 | 5.26% |
▷ Public methods | 16 | 84.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 15.79% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/green-tick.png | 1.79KB | 1.85KB | 0.00% |