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.40MB] [CPU: ▼284.13ms] Passed 4 tests
A check of server-side resources used by Anti Spam and list cleaner - AcyChecker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.42 | 59.45 ▲9.73 |
Dashboard /wp-admin | 3.80 ▲0.39 | 35.95 ▲3.11 |
Posts /wp-admin/edit.php | 4.09 ▲0.44 | 45.37 ▲7.07 |
Add New Post /wp-admin/post-new.php | 7.32 ▲0.34 | 97.03 ▼1,151.47 |
Media Library /wp-admin/upload.php | 3.75 ▲0.45 | 29.30 ▲4.77 |
Block on registration /wp-admin/admin.php?page=acychecker_registration | 3.81 | 26.54 |
Tests /wp-admin/admin.php?page=acychecker_tests | 3.88 | 27.29 |
Clean my database /wp-admin/admin.php?page=acychecker_configuration | 3.82 | 25.44 |
AcyChecker /wp-admin/admin.php?page=acychecker_dashboard | 3.85 | 26.85 |
Server storage [IO: ▲1.19MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 103 new files
Database: 4 new tables, no new options
New tables |
---|
wp_acyc_test |
wp_acyc_global_stat |
wp_acyc_block_history |
wp_acyc_configuration |
Browser metrics Passed 4 tests
A check of browser resources used by Anti Spam and list cleaner - AcyChecker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,852 ▲110 | 15.81 ▲0.06 | 5.44 ▼0.52 | 2.22 ▲0.19 |
Dashboard /wp-admin | 2,982 ▲121 | 6.13 ▼0.07 | 123.08 ▼10.81 | 158.35 ▲0.03 |
Posts /wp-admin/edit.php | 2,774 ▲83 | 3.26 ▲0.02 | 64.16 ▼0.92 | 141.14 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,736 ▲75 | 20.93 ▲4.12 | 431.75 ▲18.68 | 161.61 ▲8.74 |
Media Library /wp-admin/upload.php | 1,788 ▲90 | 5.53 ▼0.01 | 139.46 ▼1.45 | 188.63 ▲5.66 |
Block on registration /wp-admin/admin.php?page=acychecker_registration | 1,720 | 2.63 | 54.58 | 159.50 |
Tests /wp-admin/admin.php?page=acychecker_tests | 1,732 | 2.66 | 54.85 | 194.12 |
Clean my database /wp-admin/admin.php?page=acychecker_configuration | 1,939 | 3.32 | 70.84 | 212.71 |
AcyChecker /wp-admin/admin.php?page=acychecker_dashboard | 2,289 | 5.17 | 168.17 | 235.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure failed, leaving 4 tables in the database
- wp_acyc_global_stat
- wp_acyc_block_history
- wp_acyc_test
- wp_acyc_configuration
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 8 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 51× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AcyChecker\\Libraries\\AcycController' not found in wp-content/plugins/acychecker/src/Controllers/DashboardController.php:19
- > 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 20
- > 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.php:17
- > 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 29
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/acychecker/defines_cms.php on line 21
- > PHP Fatal error
Uncaught Error: Class 'AcyChecker\\Libraries\\AcycController' not found in wp-content/plugins/acychecker/src/Controllers/CallbackController.php:12
- > PHP Fatal error
Uncaught Error: Class 'AcyChecker\\Libraries\\AcycClass' not found in wp-content/plugins/acychecker/src/Classes/Acymailing5ListClass.php:8
- > 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 26
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/acychecker/src/Views/Dashboard/default.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in acychecker/assets to your readme.txt
acychecker/acychecker.php Passed 13 tests
The main PHP file in "Anti Spam and list cleaner - AcyChecker" ver. 1.1.4 adds more information about the plugin and also serves as the entry point for this plugin
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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected10,664 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 68 | 1,232 | 318 | 5,146 |
JavaScript | 16 | 1,250 | 341 | 4,715 |
SVG | 3 | 50 | 2 | 698 |
JSON | 1 | 0 | 0 | 60 |
SQL | 1 | 3 | 8 | 41 |
CSS | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 57 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 304 | |
▷ Static methods | 110 | 36.18% |
▷ Public methods | 247 | 81.25% |
▷ Protected methods | 4 | 1.32% |
▷ Private methods | 53 | 17.43% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 62 | |
▷ Global constants | 38 | 61.29% |
▷ Class constants | 24 | 38.71% |
▷ Public constants | 24 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.03MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icons/logo_acyc.png | 31.43KB | 33.09KB | 0.00% |