Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.28ms] Passed 4 tests
A check of server-side resources used by WP Faucet Direct
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.19 ▼6.82 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.25 ▼3.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.90 ▼2.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.78 ▼8.18 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.28 ▲0.01 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Faucet Direct
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.18 ▼1.50 | 4.37 ▲1.89 | 40.36 ▼4.85 |
Dashboard /wp-admin | 2,206 ▲21 | 5.84 ▲0.96 | 108.72 ▼8.69 | 40.65 ▼3.00 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.04 | 33.31 ▼1.54 | 36.26 ▲2.09 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.18 ▲0.01 | 624.84 ▼55.66 | 53.26 ▲2.15 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.18 ▼0.05 | 95.98 ▼13.00 | 40.25 ▼7.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Exception: mCrypt extension seems not to be installed in wp-content/plugins/wp-faucet-direct/lib/block_io.php:11
- > PHP Fatal error
Uncaught Exception: mCrypt extension seems not to be installed in wp-content/plugins/wp-faucet-direct/lib/block_io.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: dogecoin, litecoin, faucet, cryptocurrency, altcoin...
wp-faucet-direct/wp-faucet-direct.php 85% from 13 tests
The main file in "WP Faucet Direct" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 186 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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 plugin2,052 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 201 | 429 | 1,840 |
CSS | 2 | 16 | 0 | 120 |
PO File | 1 | 38 | 44 | 92 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 41.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 7.69% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected