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.01MB] [CPU: ▼1.62ms] Passed 4 tests
An overview of server-side resources used by Backlink Day Counter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.53 ▲2.99 |
Dashboard /wp-admin | 3.32 ▲0.01 | 60.54 ▲8.70 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.25 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.03 ▼8.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.77 ▲0.16 |
Backlink Day Counter Settings /wp-admin/options-general.php?page=bdc-settings | 3.21 | 38.86 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Backlink Day Counter: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 13.31 ▼1.24 | 9.12 ▲7.20 | 42.62 ▼2.57 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▲0.01 | 93.65 ▼8.59 | 44.91 ▲2.24 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.99 ▼0.01 | 37.41 ▼0.03 | 35.07 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.14 ▼0.30 | 679.70 ▼9.33 | 66.78 ▲16.63 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.00 | 94.32 ▼15.73 | 42.41 ▼3.84 |
Backlink Day Counter Settings /wp-admin/options-general.php?page=bdc-settings | 824 | 1.99 | 25.30 | 25.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/backlink-day-counter/backlink-day-counter.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in backlink-day-counter/assets to your readme.txt
backlink-day-counter/backlink-day-counter.php Passed 13 tests
The main PHP file in "Backlink Day Counter" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
115 characters long description:
By using [link] shortcode after backlink, Administrators can see remaining days of a sponsored backlink next to it.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected242 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 13 | 190 |
CSS | 1 | 7 | 0 | 47 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin