Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼2.35ms] Passed 4 tests
This is a short check of server-side resources used by IthStatsWP Client
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.67 ▼4.89 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.94 ▼1.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.12 ▲0.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.67 ▼2.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.62 ▼1.15 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
ith_auth_key |
Browser metrics Passed 4 tests
An overview of browser requirements for IthStatsWP Client
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.24 ▼0.41 | 1.82 ▲0.26 | 42.37 ▲3.65 |
Dashboard /wp-admin | 2,192 ▲15 | 5.57 ▼0.05 | 89.69 ▲2.21 | 42.75 ▲4.04 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.03 | 38.79 ▲1.04 | 35.49 ▼1.21 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.30 ▼4.81 | 614.71 ▼68.98 | 64.42 ▲12.74 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.22 ▲0.06 | 101.04 ▲0.58 | 44.49 ▼2.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 items
- 18× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/ithstatswp-client/includes/actions/IthListPluginsThemesAction.php
- > /wp-content/plugins/ithstatswp-client/includes/base/BaseAction.php
- > /wp-content/plugins/ithstatswp-client/includes/ITH_Auth.php
- > /wp-content/plugins/ithstatswp-client/includes/base/ITH_Bulk_Plugin.php
- > /wp-content/plugins/ithstatswp-client/includes/actions/IthForbiddenAction.php
- > /wp-content/plugins/ithstatswp-client/includes/actions/IthActivatePluginAction.php
- > /wp-content/plugins/ithstatswp-client/includes/base/ITH_Upgrader_Skins.php
- > /wp-content/plugins/ithstatswp-client/includes/ITH_Core.php
- > /wp-content/plugins/ithstatswp-client/includes/actions/IthNotFoundAction.php
- > /wp-content/plugins/ithstatswp-client/includes/actions/IthUpgradeCoreAction.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Tags: Please delete some tags, you are using 22 tag instead of maximum 10
- Screenshots: Please add an image for screenshot #1 (2.)
ithstatswp-client/init.php 92% from 13 tests
The main file in "IthStatsWP Client" v. 0.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ithstatswp-client.php" instead of "init.php")
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
No dangerous file extensions were detected591 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 149 | 68 | 573 |
CSS | 1 | 4 | 0 | 18 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 5.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 4 | 11.76% |
▷ Public methods | 30 | 88.24% |
▷ Protected methods | 4 | 11.76% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ 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
There were not PNG files found in your plugin