Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.56ms] Passed 4 tests
Server-side resources used by Crush Counter DiscordApp
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.79 ▲9.62 |
Dashboard /wp-admin | 3.38 ▲0.07 | 44.93 ▼0.97 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 44.81 ▼1.98 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.55 ▼12.40 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.41 ▲1.12 |
CCN DiscorApp /wp-admin/options-general.php?page=crush-counter-discordapp | 3.30 | 32.03 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Crush Counter DiscordApp
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 13.34 ▼1.39 | 7.50 ▲5.87 | 39.14 ▼0.71 |
Dashboard /wp-admin | 2,196 ▲25 | 5.53 ▼0.05 | 82.41 ▼5.39 | 40.86 ▼1.20 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.00 | 37.30 ▼3.56 | 35.25 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.21 ▼0.48 | 642.43 ▼17.86 | 52.20 ▼3.43 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.20 ▲0.07 | 97.56 ▼20.00 | 42.23 ▼6.55 |
CCN DiscorApp /wp-admin/options-general.php?page=crush-counter-discordapp | 1,065 | 3.27 | 53.14 | 25.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
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
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=crush-counter-discordapp
- > Notice in wp-content/plugins/crush-counter-discordapp/admin/partials/crush-counter-discordapp-admin-display.php+34
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/crush-counter-discordapp/public/partials/crush-counter-discordapp-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/crush-counter-discordapp/admin/partials/crush-counter-discordapp-admin-display.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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
Please fix the following attributes:
- Donate link: Please fix this invalid url: "www.iware.com.br"
crush-counter-discordapp/crush-counter-discordapp.php Passed 13 tests
The entry point to "Crush Counter DiscordApp" version 1.0.1 is a PHP file that has certain tags in its header comment area
118 characters long description:
Fornece integração com algumas funcionalidades do DiscordApp. Gives integration with some DiscorApp Functionalities.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin402 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 206 | 519 | 302 |
PO File | 2 | 16 | 18 | 59 |
JavaScript | 2 | 20 | 65 | 41 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 26 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 18.75% |
Functions | 3 | |
▷ Named functions | 3 | 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
3 PNG files occupy 0.16MB with 0.11MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 35.61KB | 8.42KB | ▼ 76.36% |
assets/screenshot-1.png | 54.30KB | 19.95KB | ▼ 63.26% |
assets/icon-256x256.png | 77.70KB | 25.73KB | ▼ 66.89% |