Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▼21.50ms] Passed 4 tests
Analyzing server-side resources used by UIKIT WP Integrator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 45.41 ▲5.30 |
Dashboard /wp-admin | 3.12 ▼0.19 | 34.40 ▼19.96 |
Posts /wp-admin/edit.php | 3.26 ▼0.10 | 37.70 ▼15.72 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.39 | 72.12 ▼45.21 |
Media Library /wp-admin/upload.php | 3.19 ▼0.05 | 33.33 ▼5.09 |
UIKIT Integrator /wp-admin/options-general.php?page=uk-wp-integrator | 3.10 | 27.91 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for UIKIT WP Integrator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲119 | 13.67 ▼0.59 | 13.95 ▲11.94 | 57.96 ▲15.25 |
Dashboard /wp-admin | 2,200 ▲23 | 5.60 ▼0.12 | 84.56 ▼5.07 | 40.27 ▼5.11 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.03 ▼0.02 | 35.71 ▼2.39 | 35.42 ▼0.31 |
Add New Post /wp-admin/post-new.php | 1,533 ▲2 | 23.45 ▲0.31 | 629.61 ▼43.85 | 47.75 ▼6.57 |
Media Library /wp-admin/upload.php | 1,411 ▲14 | 4.26 ▼0.00 | 98.66 ▼8.54 | 44.27 ▼5.33 |
UIKIT Integrator /wp-admin/options-general.php?page=uk-wp-integrator | 704 | 1.55 | 7.81 | 19.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=uk-wp-integrator
- > Notice in wp-content/plugins/uikit-wp-integrator/uikit-wp-integrator.php+304
Undefined variable: uikit_version
- > GET request to /wp-admin/options-general.php?page=uk-wp-integrator
- > Error in wp-admin/includes/template.php+1801
Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/uikit-wp-integrator/uikit-wp-integrator.php on line 32 and exactly 2 expected in wp-admin/includes/template.php:1801
Stack trace:
#0 wp-content/plugins/uikit-wp-integrator/uikit-wp-integrator.php(32): do_settings_fields()
#1 wp-includes/class-wp-hook.php(310): uk_wp_integrator_options()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#6 {main}
thrown
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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uikit-wp-integrator/uikit-wp-integrator.php:13
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== uikit-wp-integrator ===
)
uikit-wp-integrator/uikit-wp-integrator.php Passed 13 tests
The principal PHP file in "UIKIT WP Integrator" v. 1.1.1 is loaded by WordPress automatically on each request
79 characters long description:
This plugin integrates UIKIT front-end framework of Yootheme.com into Wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin347 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 14 | 276 |
CSS | 7 | 15 | 6 | 48 |
JavaScript | 12 | 12 | 11 | 23 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/uikit.png | 1.81KB | 0.69KB | ▼ 61.98% |
assets/screenshot-1.png | 110.25KB | 38.64KB | ▼ 64.95% |