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
Installer ran successfully
Server metrics [RAM: ▲1.06MB] [CPU: ▲5.47ms] Passed 4 tests
This is a short check of server-side resources used by oik
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.75 | 43.59 ▲1.91 |
Dashboard /wp-admin | 4.49 ▲1.18 | 54.27 ▲10.46 |
Posts /wp-admin/edit.php | 4.54 ▲1.18 | 55.18 ▲9.13 |
Add New Post /wp-admin/post-new.php | 7.29 ▲1.40 | 98.48 ▲0.36 |
Media Library /wp-admin/upload.php | 4.36 ▲1.13 | 46.49 ▲13.06 |
More Options /wp-admin/admin.php?page=oik_options-1 | 4.98 | 53.42 |
Shortcode help /wp-admin/admin.php?page=oik_sc_help | 6.08 | 64.01 |
Options /wp-admin/admin.php?page=oik_options | 5.05 | 46.88 |
Plugins /wp-admin/admin.php?page=oik_plugins | 4.33 | 40.69 |
Buttons /wp-admin/admin.php?page=oik_buttons | 4.33 | 41.81 |
Themes /wp-admin/admin.php?page=oik_themes | 4.44 | 44.88 |
Overview /wp-admin/admin.php?page=oik_menu | 4.38 | 41.68 |
Server storage [IO: ▲3.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 418 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
oik: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲102 | 14.72 ▲0.37 | 1.85 ▲0.08 | 39.96 ▼4.68 |
Dashboard /wp-admin | 2,243 ▲63 | 5.63 ▲0.05 | 94.22 ▼3.31 | 40.53 ▲1.09 |
Posts /wp-admin/edit.php | 2,156 ▲53 | 2.03 ▲0.07 | 36.59 ▼7.67 | 29.53 ▼7.55 |
Add New Post /wp-admin/post-new.php | 6,453 ▲4,927 | 28.43 ▲5.33 | 960.29 ▲267.36 | 40.59 ▼14.41 |
Media Library /wp-admin/upload.php | 1,453 ▲56 | 4.22 ▲0.05 | 100.05 ▲2.40 | 40.77 ▼1.74 |
More Options /wp-admin/admin.php?page=oik_options-1 | 1,710 | 8.00 | 153.72 | 150.00 |
Shortcode help /wp-admin/admin.php?page=oik_sc_help | 7,562 | 4.80 | 70.07 | 89.72 |
Options /wp-admin/admin.php?page=oik_options | 2,199 | 8.06 | 151.85 | 98.84 |
Plugins /wp-admin/admin.php?page=oik_plugins | 939 | 4.69 | 47.87 | 45.47 |
Buttons /wp-admin/admin.php?page=oik_buttons | 965 | 4.58 | 48.06 | 55.91 |
Themes /wp-admin/admin.php?page=oik_themes | 942 | 4.58 | 50.21 | 51.74 |
Overview /wp-admin/admin.php?page=oik_menu | 1,071 | 4.84 | 49.89 | 61.89 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 23× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/oik/libs/oik-shortcodes.php:485
- > PHP Fatal error
Uncaught Error: Call to undefined function oik_require_lib() in wp-content/plugins/oik/oik-add-shortcodes.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function oik_require() in wp-content/plugins/oik/shortcodes/oik-attachments.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oik/oik-shortcake.php:409
- > PHP Fatal error
Uncaught Error: Call to undefined function oik_require_lib() in wp-content/plugins/oik/includes/oik-sc-help.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function oik_require() in wp-content/plugins/oik/shortcodes/oik-table.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function oik_require() in wp-content/plugins/oik/shortcodes/oik-pages.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function oik_require() in wp-content/plugins/oik/shortcodes/oik-thumbs.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function oik_require() in wp-content/plugins/oik/admin/oik-bwtrace.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oik/libs/oik-honeypot.php:22
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=oik_options
- > Console-api (warning) in unknown
http://maps.googleapis.com/maps/api/js?®ion=GB 213:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (oik options - Options), #2 (Demonstrating [bw_pages] and [bw_thumbs]), #3 ([bw_contact_form] - Contact form and [bw_show_googlemap] - Google Map), #4 (Option to display post IDs on admin pages), #5 (Custom CSS button), #6 (oik button dialog - to create the [bw_button] shortcode), #7 (oik PayPal dialog - create PayPal buttons: Pay Now, Buy Now, Donate, Add to Cart and View Cart/Checkout), #8 (oik shortcodes dialog - showing syntax for [bw_block]), #9 (oik options - Shortcode help - lists ALL active shortcodes), #10 (oik options - Buttons)
oik/oik.php Passed 13 tests
Analyzing the main PHP file in "oik" version 4.10.0
84 characters long description:
OIK Information Kit - Over 80 lazy smart shortcodes for displaying WordPress content
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected32,297 lines of code in 289 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 113 | 2,512 | 12,291 | 14,565 |
JavaScript | 69 | 1,386 | 1,572 | 7,028 |
PO File | 3 | 2,224 | 3,056 | 4,624 |
Pascal | 20 | 571 | 1,717 | 2,334 |
CSS | 26 | 254 | 236 | 1,671 |
JSON | 39 | 0 | 0 | 1,315 |
SVG | 3 | 0 | 3 | 594 |
Sass | 16 | 30 | 1 | 166 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 27.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 190 | |
▷ Static methods | 76 | 40.00% |
▷ Public methods | 171 | 90.00% |
▷ Protected methods | 19 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1,002 | |
▷ Named functions | 1,002 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 60 | |
▷ Global constants | 60 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
87 compressed PNG files occupy 0.80MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/green_tick_64x64.png | 2.18KB | 1.86KB | ▼ 14.54% |
images/youtube_48.png | 0.86KB | 0.84KB | ▼ 2.27% |
images/red_x_64x64.png | 1.98KB | 1.86KB | ▼ 5.73% |
css/fancybox-y.png | 0.17KB | 0.24KB | 0.00% |
images/instagram_48.png | 2.66KB | 1.86KB | ▼ 30.15% |