Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.44ms] Passed 4 tests
A check of server-side resources used by Author Customization
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.17 ▼8.97 |
Dashboard /wp-admin | 3.41 ▲0.06 | 49.67 ▼15.70 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 51.43 ▲5.67 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 90.45 ▲3.79 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.08 ▼0.87 |
Author Customization /wp-admin/options-general.php?page=cc-author | 3.28 | 33.58 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cc_author_options |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Author Customization
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.34 ▼0.19 | 1.65 ▲0.01 | 40.82 ▼4.19 |
Dashboard /wp-admin | 2,209 ▲32 | 5.64 ▼0.02 | 91.23 ▼11.00 | 38.86 ▼3.49 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.00 ▲0.05 | 35.20 ▼4.60 | 35.28 ▼0.78 |
Add New Post /wp-admin/post-new.php | 6,501 ▲4,973 | 21.72 ▼1.48 | 923.89 ▲220.53 | 78.05 ▲20.84 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.24 ▲0.03 | 96.63 ▼17.05 | 41.43 ▼6.23 |
Author Customization /wp-admin/options-general.php?page=cc-author | 879 | 2.04 | 23.63 | 28.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=cc-author
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=cc-author
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function cconover\\author\\get_option() in wp-content/plugins/author-customization/author-customization.php:130
- > PHP Fatal error
Uncaught Error: Class 'cconover\\author\\Author' not found in wp-content/plugins/author-customization/admin/author-customization-admin.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: user, wysiwyg, tinymce, profile, rel-nofollow...
author-customization/author-customization.php 92% from 13 tests
The main PHP script in "Author Customization" version 0.3.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 195 characters long)
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
Success! There were no dangerous files found in this plugin497 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 94 | 185 | 446 |
JavaScript | 2 | 9 | 18 | 30 |
CSS | 1 | 5 | 1 | 21 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 89.29% |
▷ Protected methods | 3 | 10.71% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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 are no PNG files in this plugin