Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.52MB] [CPU: ▲1.86ms] Passed 4 tests
A check of server-side resources used by Anti Spam and list cleaner - AcyChecker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 39.98 ▼0.47 |
Dashboard /wp-admin | 3.83 ▲0.53 | 48.08 ▼7.44 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 55.22 ▲9.38 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.52 | 98.55 ▲5.95 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 42.70 ▲10.65 |
Configuration /wp-admin/admin.php?page=acychecker_configuration | 3.87 | 38.77 |
Block on registration /wp-admin/admin.php?page=acychecker_registration | 3.83 | 33.81 |
Tests /wp-admin/admin.php?page=acychecker_tests | 3.96 | 38.90 |
Clean my database /wp-admin/admin.php?page=acychecker_database | 3.84 | 37.34 |
Dashboard /wp-admin/admin.php?page=acychecker_dashboard | 3.85 | 37.44 |
Server storage [IO: ▲1.75MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 135 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_acyc_test |
wp_acyc_delete_history |
wp_acyc_configuration |
wp_acyc_block_history |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Anti Spam and list cleaner - AcyChecker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲149 | 13.37 ▼1.00 | 4.70 ▲2.69 | 40.02 ▼7.91 |
Dashboard /wp-admin | 2,290 ▲102 | 4.85 ▼0.19 | 108.66 ▼4.42 | 44.13 ▼1.99 |
Posts /wp-admin/edit.php | 2,177 ▲88 | 2.07 ▲0.05 | 39.75 ▲1.91 | 33.64 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.34 ▲0.31 | 631.76 ▼9.98 | 57.00 ▲2.94 |
Media Library /wp-admin/upload.php | 1,472 ▲84 | 4.21 ▼0.02 | 98.54 ▼0.63 | 43.87 ▲0.66 |
Configuration /wp-admin/admin.php?page=acychecker_configuration | 1,486 | 2.32 | 43.19 | 41.47 |
Block on registration /wp-admin/admin.php?page=acychecker_registration | 1,413 | 2.51 | 36.34 | 29.20 |
Tests /wp-admin/admin.php?page=acychecker_tests | 1,759 | 2.38 | 51.17 | 45.18 |
Clean my database /wp-admin/admin.php?page=acychecker_database | 1,626 | 2.45 | 42.46 | 51.66 |
Dashboard /wp-admin/admin.php?page=acychecker_dashboard | 1,869 | 5.46 | 136.42 | 90.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 4 tables in the database
- wp_acyc_delete_history
- wp_acyc_configuration
- wp_acyc_test
- wp_acyc_block_history
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=acychecker_dashboard
- > Warning in wp-content/plugins/acychecker/cms/cmsServices/Miscellaneous.php+52
session_start(): Cannot start session when headers already sent
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 74× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AcyChecker\\Libraries\\AcycObject' not found in wp-content/plugins/acychecker/src/Libraries/AcycView.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/acychecker/src/Views/Tests/listing_handle_modal.php:12
- > PHP Warning
Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in wp-content/plugins/acychecker/defines_cms.php on line 30
- > PHP Warning
Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in wp-content/plugins/acychecker/defines_cms.php on line 28
- > PHP Fatal error
Uncaught Error: Class 'AcyChecker\\Libraries\\AcycIntegrationClass' not found in wp-content/plugins/acychecker/src/Classes/CmsUserClass.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/acychecker/src/Views/Registration/default_conditions.php:6
- > PHP Fatal error
Uncaught Error: Class 'AcyChecker\\Libraries\\AcycController' not found in wp-content/plugins/acychecker/src/Controllers/DashboardController.php:15
- > PHP Warning
Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in wp-content/plugins/acychecker/defines_cms.php on line 28
- > PHP Fatal error
Uncaught Error: Class 'AcyChecker\\Libraries\\AcycObject' not found in wp-content/plugins/acychecker/src/Services/DateService.php:10
- > PHP Warning
Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in wp-content/plugins/acychecker/defines_cms.php on line 30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in acychecker/assets to your readme.txt
acychecker/acychecker.php Passed 13 tests
"Anti Spam and list cleaner - AcyChecker" version 1.2.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
75 characters long description:
Check the email addresses of your site and block them if they do not exists
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected19,543 lines of code in 125 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 22 | 3,233 | 3,371 | 12,159 |
PHP | 92 | 1,496 | 330 | 6,631 |
SVG | 3 | 50 | 2 | 704 |
SQL | 1 | 3 | 8 | 42 |
CSS | 6 | 0 | 0 | 6 |
JSON | 1 | 0 | 0 | 1 |
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.35 |
Average class complexity | 14.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 62 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 354 | |
▷ Static methods | 118 | 33.33% |
▷ Public methods | 283 | 79.94% |
▷ Protected methods | 13 | 3.67% |
▷ Private methods | 58 | 16.38% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 72 | |
▷ Global constants | 39 | 54.17% |
▷ Class constants | 33 | 45.83% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icons/logo_acyc.png | 1.32KB | 1.30KB | ▼ 1.11% |