Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.18ms] Passed 4 tests
Analyzing server-side resources used by Blogroll Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.72 ▲4.66 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.50 ▼3.10 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.38 ▼0.95 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 119.40 ▼1.47 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.20 ▼7.21 |
Add New /wp-admin/link-add.php | 3.24 | 34.97 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 3.25 | 33.54 |
All Links /wp-admin/link-manager.php | 3.28 | 39.23 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_links |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Blogroll Block
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲127 | 13.24 ▼1.06 | 2.08 ▼0.46 | 49.51 ▼21.29 |
Dashboard /wp-admin | 2,240 ▲55 | 4.88 ▼0.94 | 115.50 ▼3.10 | 41.77 ▼3.55 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.00 ▼0.05 | 39.74 ▲1.01 | 38.79 ▲4.68 |
Add New Post /wp-admin/post-new.php | 6,433 ▲4,914 | 19.42 ▼3.34 | 1,057.49 ▲350.98 | 65.49 ▼17.30 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.25 ▲0.06 | 100.65 ▼40.37 | 47.90 ▼23.63 |
Add New /wp-admin/link-add.php | 1,647 | 2.23 | 74.62 | 39.77 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,302 | 2.14 | 30.79 | 35.08 |
All Links /wp-admin/link-manager.php | 1,077 | 2.07 | 32.13 | 40.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_links
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function tw2113_blogroll_block\\add_action() in wp-content/plugins/blogroll-block/blogroll-block.php:23
- > 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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: block
blogroll-block/blogroll-block.php Passed 13 tests
The principal PHP file in "Blogroll Block" v. 1.3.3 is loaded by WordPress automatically on each request
33 characters long description:
WordPress Blogroll, block edition
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin137 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 100 |
PHP | 2 | 8 | 14 | 34 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 1 | |
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 | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin