Benchmarks
Plugin footprint 82% 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.60MB] [CPU: ▼2.14ms] 75% from 4 tests
This is a short check of server-side resources used by IndieWeb
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 3,531.86ms on /wp-admin/admin.php?page=indieweb-installer)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 42.90 ▲2.56 |
Dashboard /wp-admin | 3.91 ▲0.56 | 53.82 ▼9.14 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 48.74 ▲2.09 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.63 | 94.68 ▼4.05 |
Media Library /wp-admin/upload.php | 3.83 ▲0.60 | 36.69 ▲2.95 |
Options /wp-admin/admin.php?page=iw_general_options | 3.80 | 37.07 |
Getting Started /wp-admin/admin.php?page=indieweb | 3.81 | 33.04 |
Extensions /wp-admin/admin.php?page=indieweb-installer | 3.86 | 3,531.86 |
Server storage [IO: ▲5.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2,965 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_relme_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_hcard_widget |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IndieWeb
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲132 | 14.31 ▼0.40 | 1.84 ▲0.10 | 38.10 ▼5.26 |
Dashboard /wp-admin | 2,267 ▲90 | 5.65 ▲0.11 | 91.62 ▼9.64 | 84.57 ▲41.12 |
Posts /wp-admin/edit.php | 2,190 ▲90 | 2.00 ▲0.05 | 39.01 ▼0.81 | 38.49 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,604 ▲78 | 23.05 ▼0.31 | 696.57 ▲89.84 | 62.84 ▲13.62 |
Media Library /wp-admin/upload.php | 1,484 ▲81 | 4.08 ▼0.13 | 96.06 ▼0.91 | 76.47 ▲32.55 |
Options /wp-admin/admin.php?page=iw_general_options | 943 | 2.03 | 26.00 | 23.05 |
Getting Started /wp-admin/admin.php?page=indieweb | 1,002 | 2.14 | 27.95 | 32.09 |
Extensions /wp-admin/admin.php?page=indieweb-installer | 1,229 | 2.02 | 26.80 | 37.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_hcard_widget
- widget_relme_widget
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)
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
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/indieweb/includes/getting-started.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/indieweb/includes/class-general-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/indieweb/indieweb.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/indieweb/templates/h-card.php:4
- > PHP Notice
Undefined variable: avatar in wp-content/plugins/indieweb/templates/h-card.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/indieweb/includes/class-integrations.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/indieweb/includes/class-hcard-user.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/indieweb/includes/class-relme-widget.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/indieweb/includes/class-hcard-author-widget.php:3
- > 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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: posse, indieweb, webmention, indieauth
indieweb/indieweb.php Passed 13 tests
The main PHP file in "IndieWeb" ver. 4.0.2 adds more information about the plugin and also serves as the entry point for this plugin
61 characters long description:
Interested in connecting your WordPress site to the IndieWeb?
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected7,805 lines of code in 2,959 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 221 | 298 | 4,089 |
SVG | 2,940 | 5 | 2 | 3,069 |
Markdown | 2 | 67 | 0 | 302 |
JavaScript | 2 | 48 | 41 | 218 |
CSS | 4 | 5 | 0 | 127 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 67 | |
▷ Static methods | 54 | 80.60% |
▷ Public methods | 67 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin