Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/diaspora-podlist-updater/diaspora-podlist-updater.php+47
file_get_contents(http://podupti.me/api.php?format=json&key=4r45tg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.10ms] Passed 4 tests
Server-side resources used by Diaspora Podlist Updater
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.10 ▼0.28 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.71 ▼3.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.44 ▲2.47 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.94 ▼9.99 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.45 ▲1.68 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
dpu-podlist |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Diaspora Podlist Updater
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.76 ▲0.32 | 2.01 ▲0.36 | 39.36 ▲2.90 |
Dashboard /wp-admin | 2,206 ▲18 | 5.77 ▲0.88 | 97.13 ▼4.95 | 36.80 ▼4.35 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 35.19 ▼2.10 | 38.85 ▲4.80 |
Add New Post /wp-admin/post-new.php | 1,544 ▲25 | 18.15 ▼5.04 | 733.03 ▲82.35 | 54.19 ▼3.19 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.18 ▼0.01 | 94.12 ▼3.15 | 40.87 ▼3.59 |
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 were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/diaspora-podlist-updater/diaspora-podlist-updater.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== diaspora-podlist-updater ===
) - Donate link: Invalid url: ""
diaspora-podlist-updater/diaspora-podlist-updater.php Passed 13 tests
"Diaspora Podlist Updater" version 0.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
73 characters long description:
This plugin periodically retrieves a fresh list of active Diaspora* pods.
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
There were no executable files found in this plugin37 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 23 | 37 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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