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.95MB] [CPU: ▼36.12ms] Passed 4 tests
Server-side resources used by Powie's IRC Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 31.00 ▼7.11 |
Dashboard /wp-admin | 3.00 ▼0.31 | 22.59 ▼25.00 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 22.92 ▼22.76 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 22.31 ▼82.58 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 22.03 ▼14.14 |
PIRC Settings /wp-admin/options-general.php?page=powies-irc-chat/pirc_settings.php | 3.00 | 22.45 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Powie's IRC Chat
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.18 ▼0.18 | 1.48 ▼0.12 | 44.06 ▲7.16 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▼0.02 | 85.00 ▼3.15 | 38.31 ▼3.88 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.04 | 38.22 ▲3.43 | 33.95 ▲2.28 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.13 ▲2.11 | 687.57 ▲13.68 | 49.20 ▼11.43 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.23 ▲0.02 | 95.60 ▼10.26 | 42.25 ▼6.23 |
PIRC Settings /wp-admin/options-general.php?page=powies-irc-chat/pirc_settings.php | 1,079 | 3.52 | 72.68 | 38.48 |
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
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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 errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=powies-irc-chat/pirc_settings.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/powies-irc-chat/powies-irc-chat.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/powies-irc-chat/pirc_settings.php:3
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: irc, chat, shortcode
powies-irc-chat/powies-irc-chat.php Passed 13 tests
The primary PHP file in "Powie's IRC Chat" version 0.9.2 is used by WordPress to initiate all plugin functionality
30 characters long description:
IRC Chat with Coolsmile Applet
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Please fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .jar - Java Archive in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/powies-irc-chat/chat/EIRC-cfg.jar
- ☣ wp-content/plugins/powies-irc-chat/chat/EIRC-sfx.jar
- ☣ wp-content/plugins/powies-irc-chat/chat/EIRC.jar
- .jar - Java Archive in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 2 | 92 | 2 | 438 |
PHP | 2 | 12 | 29 | 165 |
PO File | 1 | 17 | 17 | 57 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin