Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Compile error in wp-content/plugins/angry-creative-logger/classes/settings.php+573
'continue' not in the 'loop' or 'switch' context
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.83ms] Passed 4 tests
Analyzing server-side resources used by Angry Creative Inspector
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.30 ▼0.48 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.98 ▼6.57 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.92 ▼1.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.23 ▼7.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.31 ▼4.42 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 15 new options
New WordPress options |
---|
aci_ACI_Routine_Log_User_Registrations_options |
aci_ACI_Routine_Check_DB_Collations_options |
aci_ACI_Routine_Log_User_Profile_Update_options |
widget_recent-posts |
aci_ACI_Routine_Log_JS_Errors_options |
aci_ACI_Routine_Log_Plugin_Change_options |
db_upgraded |
aci_ACI_Routine_Check_File_Permissions_options |
widget_theysaidso_widget |
aci_ACI_Routine_Check_Git_Status_options |
... |
Browser metrics Passed 4 tests
Angry Creative Inspector: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.76 ▼0.91 | 4.58 ▲2.66 | 43.55 ▼7.04 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▲0.05 | 110.57 ▼7.89 | 40.94 ▼2.75 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▼0.08 | 39.10 ▼1.68 | 33.25 ▼1.01 |
Add New Post /wp-admin/post-new.php | 1,533 ▼135 | 23.16 ▲0.83 | 662.29 ▲86.86 | 53.37 ▼6.89 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.26 ▲0.06 | 95.85 ▼0.80 | 43.80 ▲2.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 15 options
- theysaidso_admin_options
- aci_ACI_Routine_Check_DB_Collations_options
- aci_ACI_Routine_Log_User_Registrations_options
- widget_theysaidso_widget
- aci_ACI_Routine_Log_User_Profile_Update_options
- db_upgraded
- aci_ACI_Log_User_Capability_Change_options
- aci_ACI_Routine_Check_Git_Status_options
- widget_recent-posts
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/angry-creative-logger/git/test/test-suite.php
- > /wp-content/plugins/angry-creative-logger/git/Git.php
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function aci_register_routine() in wp-content/plugins/angry-creative-logger/routines/user_cap_change.php:35
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/angry-creative-logger/routines/git_status.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function aci_register_routine() in wp-content/plugins/angry-creative-logger/routines/db_collations.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function aci_register_routine() in wp-content/plugins/angry-creative-logger/routines/plugin_change.php:19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/angry-creative-logger/routines/file_permissions.php on line 52
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/angry-creative-logger/routines/user_site_register.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function aci_register_routine() in wp-content/plugins/angry-creative-logger/routines/user_profile_update.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function aci_register_routine() in wp-content/plugins/angry-creative-logger/routines/site_visibility.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/angry-creative-logger/plugin.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function aci_register_routine() in wp-content/plugins/angry-creative-logger/routines/user_register.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 require attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
angry-creative-logger/plugin.php 92% from 13 tests
"Angry Creative Inspector" version 0.8.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("angry-creative-logger.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,317 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 1,268 | 1,029 | 2,173 |
CSS | 2 | 29 | 2 | 120 |
Markdown | 1 | 9 | 0 | 13 |
JSON | 1 | 0 | 0 | 6 |
JavaScript | 2 | 5 | 1 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 33.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 191.00 |
Average method complexity | 5.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 89 | 59.73% |
▷ Public methods | 135 | 90.60% |
▷ Protected methods | 1 | 0.67% |
▷ Private methods | 13 | 8.72% |
Functions | 11 | |
▷ Named functions | 5 | 45.45% |
▷ Anonymous functions | 6 | 54.55% |
Constants | 29 | |
▷ Global constants | 5 | 17.24% |
▷ Class constants | 24 | 82.76% |
▷ Public constants | 24 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin