Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.41ms] Passed 4 tests
Analyzing server-side resources used by Kin Visitantes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.81 ▼0.19 |
Dashboard /wp-admin | 3.27 ▼0.04 | 41.04 ▼10.57 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.75 ▼4.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.10 ▼2.76 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.55 ▲6.13 |
Visitantes /wp-admin/admin.php?page=kin-visitantes/dashboard.php | 3.28 | 28.59 |
Support/Resources /wp-admin/admin.php?page=support_resources | 3.18 | 34.64 |
Options /wp-admin/admin.php?page=options | 3.20 | 28.07 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_kin_visitantes |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
recovery_mode_email_last_sent |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
ignored_ip |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Kin Visitantes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,183 ▼552 | 13.28 ▼1.09 | 1.93 ▲0.13 | 42.14 ▼3.11 |
Dashboard /wp-admin | 1,567 ▼622 | 1.63 ▼3.27 | 16.13 ▼93.41 | 34.43 ▼5.10 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.01 ▼0.04 | 39.16 ▲5.41 | 41.51 ▲7.26 |
Add New Post /wp-admin/post-new.php | 6,645 ▲5,131 | 24.31 ▲6.59 | 975.97 ▲290.59 | 34.70 ▼19.87 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.21 ▼0.03 | 96.53 ▼14.33 | 68.08 ▲20.05 |
Visitantes /wp-admin/admin.php?page=kin-visitantes/dashboard.php | 744 | 1.44 | 10.07 | 19.45 |
Support/Resources /wp-admin/admin.php?page=support_resources | 907 | 2.02 | 25.52 | 28.81 |
Options /wp-admin/admin.php?page=options | 823 | 2.20 | 26.82 | 25.32 |
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
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_kin_visitantes
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- recovery_mode_email_last_sent
- ignored_ip
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=kin-visitantes/dashboard.php
- > Error in wp-content/plugins/kin-visitantes/dashboard.php+38
Uncaught Error: Call to undefined function mysql_num_rows() in wp-content/plugins/kin-visitantes/dashboard.php:38
Stack trace:
#0 wp-admin/admin.php(293): include()
#1 {main}
thrown- > GET request to /wp-admin/admin.php?page=support_resources
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function mysql_num_rows() in wp-content/plugins/kin-visitantes/dashboard.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/kin-visitantes/index.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: kin web design, analytics, google charts, statistics, widget...
kin-visitantes/index.php 92% from 13 tests
The main PHP file in "Kin Visitantes" ver. 2.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kin-visitantes.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected477 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 5 | 19 | 474 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/menu.png | 1.02KB | 0.24KB | ▼ 76.61% |