Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.21ms] Passed 4 tests
Server-side resources used by WP-Orphanage Extended
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.02 ▼8.09 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.72 ▼2.13 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.53 ▲1.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.31 ▲2.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.07 ▲0.28 |
WP Orphanage Extended /wp-admin/options-general.php?page=wp-orphanage-extended | 3.25 | 31.46 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
wporphanageex_role |
theysaidso_admin_options |
wporphanageex_prefixes |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
WP-Orphanage Extended: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.19 ▼1.10 | 4.65 ▲2.73 | 39.67 ▼3.95 |
Dashboard /wp-admin | 2,210 ▲22 | 5.83 ▲0.94 | 106.30 ▼9.77 | 38.52 ▼3.85 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.04 | 38.62 ▲3.19 | 34.57 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.16 ▲0.09 | 569.80 ▼69.99 | 48.96 ▼0.52 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▲0.06 | 95.38 ▼2.85 | 41.96 ▼1.44 |
WP Orphanage Extended /wp-admin/options-general.php?page=wp-orphanage-extended | 868 | 2.05 | 27.40 | 31.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- wporphanageex_role
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- wporphanageex_prefixes
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-orphanage-extended/wp-orphanage-extended.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wp-orphanage-extended/wp-orphanage-extended-options.php:2
- > 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 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
4 plugin tags: shared user table, custom_user_table, custom_user_meta_table, users
wp-orphanage-extended/wp-orphanage-extended.php Passed 13 tests
"WP-Orphanage Extended" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
133 characters long description:
Plugin to promote users with no roles set (the orphans) to the role from other blog where they registered or to default if any found.
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 detected179 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 47 | 70 | 134 |
PO File | 1 | 15 | 27 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin