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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.57ms] Passed 4 tests
An overview of server-side resources used by Chainwire Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.25 ▼2.91 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.09 ▼2.66 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.68 ▲6.87 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.16 ▼5.96 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.74 ▲1.26 |
Chainwire /wp-admin/options-general.php?page=chain-wire | 3.32 | 33.41 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Chainwire Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲138 | 14.11 ▼0.28 | 5.22 ▲3.07 | 40.22 ▼8.51 |
Dashboard /wp-admin | 2,215 ▲27 | 5.16 ▼0.73 | 101.61 ▼2.96 | 39.10 ▼0.94 |
Posts /wp-admin/edit.php | 2,104 ▲18 | 2.29 ▲0.30 | 37.80 ▲4.02 | 34.29 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,525 ▲11 | 23.72 ▲6.12 | 700.57 ▲16.60 | 58.48 ▲4.93 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.38 ▲0.16 | 113.24 ▲6.36 | 47.33 ▲3.10 |
Chainwire /wp-admin/options-general.php?page=chain-wire | 1,659 | 2.35 | 51.92 | 34.89 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/chainwire-integration/public/partials/chainwire-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/chainwire-integration/admin/partials/chainwire-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: newswire, cryptocurrency, blockchain, wire, crypto
chainwire-integration/chain-wire.php 85% from 13 tests
The principal PHP file in "Chainwire Integration" v. 1.0.15 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("chainwire-integration.php" instead of "chain-wire.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,420 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 275 | 729 | 1,370 |
JavaScript | 3 | 8 | 55 | 36 |
CSS | 3 | 2 | 8 | 14 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 17.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 2.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 69 | |
▷ Static methods | 3 | 4.35% |
▷ Public methods | 38 | 55.07% |
▷ Protected methods | 26 | 37.68% |
▷ Private methods | 5 | 7.25% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 37 | |
▷ Global constants | 1 | 2.70% |
▷ Class constants | 36 | 97.30% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin