Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.44ms] Passed 4 tests
This is a short check of server-side resources used by Simple Blog Card
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 43.07 ▲2.45 |
Dashboard /wp-admin | 3.44 ▲0.09 | 50.06 ▼11.51 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 52.00 ▼0.12 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 81.99 ▼10.87 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.44 ▲0.75 |
Simple Blog Card /wp-admin/options-general.php?page=simpleblogcard | 3.33 | 32.76 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Blog Card
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲42 | 14.34 ▼0.17 | 1.56 ▼0.14 | 40.29 ▼7.83 |
Dashboard /wp-admin | 2,207 ▲33 | 5.63 ▲0.04 | 91.02 ▲2.23 | 37.65 ▼2.99 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.01 ▲0.01 | 40.55 ▲3.03 | 35.71 ▲1.54 |
Add New Post /wp-admin/post-new.php | 6,203 ▲4,675 | 19.18 ▼3.97 | 828.27 ▲127.65 | 55.96 ▲2.56 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▲0.02 | 94.57 ▼12.50 | 41.38 ▼3.37 |
Simple Blog Card /wp-admin/options-general.php?page=simpleblogcard | 1,297 | 2.47 | 52.31 | 29.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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
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
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-blog-card/lib/class-simpleblogcard.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-blog-card/lib/class-simpleblogcardadmin.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-blog-card/lib/class-simpleblogcard.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
5 plugin tags: card, external link, linkcard, blogcard, internal link
simple-blog-card/simpleblogcard.php 92% from 13 tests
The primary PHP file in "Simple Blog Card" version 1.33 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-blog-card.php" instead of "simpleblogcard.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
Success! There were no dangerous files found in this plugin983 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 121 | 192 | 800 |
JavaScript | 4 | 17 | 36 | 163 |
JSON | 1 | 0 | 0 | 20 |
CSS | 1 | 3 | 17 | 0 |
PHP code Passed 2 tests
This is a short overview 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.39 |
Average class complexity | 52.50 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 6.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 50.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin