Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲1.45ms] Passed 4 tests
Analyzing server-side resources used by Kama WP Smiles
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.60 ▼0.49 |
Dashboard /wp-admin | 3.44 ▲0.13 | 48.55 ▲1.41 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 48.25 ▲4.27 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 93.82 ▲4.93 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.76 ▲0.59 |
Kama WP Smiles /wp-admin/options-general.php?page=kama_wp_smiles_opt | 3.36 | 29.47 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 148 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
kwsmile_opt |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Kama WP Smiles
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 14.43 ▲0.07 | 1.81 ▲0.09 | 44.92 ▲0.08 |
Dashboard /wp-admin | 2,229 ▲52 | 5.56 ▼0.09 | 84.08 ▼3.72 | 39.04 ▼0.03 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.02 ▼0.00 | 36.50 ▲0.02 | 32.59 ▼6.19 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 18.24 ▼5.04 | 606.76 ▼74.71 | 75.30 ▲17.37 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.25 ▼0.04 | 95.48 ▼7.42 | 42.34 ▼2.49 |
Kama WP Smiles /wp-admin/options-general.php?page=kama_wp_smiles_opt | 1,238 | 2.33 | 39.38 | 46.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/kama-wp-smile/uninstall.php+30
Non-static method Kama_WP_Smiles::get_dir_smile_names() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% 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
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: acute
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: aggressive
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: air_kiss
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: angel
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: bad
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: bb
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: beach
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: beee
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: big_boss
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: blum
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: blush
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: boast
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: bomb
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: boredom
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: bravo
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: buba
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: bye
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: cool
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: crazy
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: cry
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: curtsey
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: dance
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: dash
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: dash2
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: declare
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: diablo
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: don-t_mention
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: drinks
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: focus
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: fool
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: friends
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: gamer
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: gamer4
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: give_rose
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: good
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: heart
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: help
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: hi
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: kiss
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: laugh1
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: mail
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: mda
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: mosking
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: music
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: negative
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: no
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: ok
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: pardon
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: popcorm
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: punish
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: rofl
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: rtfm
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: sarcastic
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: search
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: secret
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: shock
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: shout
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: sorry
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: thank_you
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: unknw
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: vava
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: victory
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: wacko
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: wink
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: yes
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: yess
- > GET request to /wp-admin/options-general.php?page=kama_wp_smiles_opt
- > Notice in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php+269
Undefined index: yu
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/kama-wp-smile/admin/admin-page.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Kama_WP_Smiles' not found in wp-content/plugins/kama-wp-smile/class.Kama_WP_Smiles_Admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/kama-wp-smile/kama_wp_smiles.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: comments, optimization, smiles, posts
kama-wp-smile/kama_wp_smiles.php 85% from 13 tests
The main PHP script in "Kama WP Smiles" version 1.9.12 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("kama-wp-smile.php" instead of "kama_wp_smiles.php")
- Domain Path: The domain path folder was not found ("/languages")
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 plugin686 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 243 | 235 | 661 |
CSS | 1 | 8 | 4 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 3 | 10.71% |
▷ Public methods | 27 | 96.43% |
▷ Protected methods | 1 | 3.57% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.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
No PNG images were found in this plugin