Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼11.01ms] Passed 4 tests
This is a short check of server-side resources used by Aucor core
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 45.90 ▲6.89 |
Dashboard /wp-admin | 3.42 ▲0.12 | 39.29 ▼27.95 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 56.06 ▲11.49 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 97.60 ▼13.56 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 32.62 ▼9.41 |
All Comments /wp-admin/edit-comments.php | 3.19 | 28.70 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 111 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Aucor core: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,964 ▼793 | 13.75 ▼0.48 | 1.52 ▼0.60 | 34.37 ▼4.83 |
Dashboard /wp-admin | 1,402 ▼786 | 5.34 ▼0.54 | 112.91 ▼11.31 | 84.87 ▲39.63 |
Posts /wp-admin/edit.php | 1,924 ▼168 | 2.04 ▲0.03 | 50.05 ▲6.16 | 42.89 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,362 ▼53 | 17.95 ▼0.05 | 778.31 ▲107.21 | 49.63 ▼8.67 |
Media Library /wp-admin/upload.php | 1,340 ▼48 | 4.20 ▼0.00 | 122.33 ▲12.13 | 51.58 ▲0.45 |
All Comments /wp-admin/edit-comments.php | 1,408 | 5.12 | 81.94 | 71.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/aucor-core/tests/bootstrap.php
- 86× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/aucor-core/tests/security/test-security-disable-admin-email-check.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/aucor-core/tests/localization/test-localization-string-translations.php:8
- > PHP Fatal error
Uncaught Error: Class 'Aucor_Core_Sub_Feature' not found in wp-content/plugins/aucor-core/features/debug/sub_features/class-debug-style-guide.php:5
- > PHP Fatal error
Uncaught Error: Class 'Aucor_Core_Sub_Feature' not found in wp-content/plugins/aucor-core/features/security/sub_features/class-security-disable-admin-email-check.php:5
- > PHP Fatal error
Uncaught Error: Class 'Aucor_Core_Feature' not found in wp-content/plugins/aucor-core/features/classic-editor/class-classic-editor.php:5
- > PHP Fatal error
Uncaught Error: Class 'Aucor_Core_Sub_Feature' not found in wp-content/plugins/aucor-core/features/debug/sub_features/class-debug-wireframe.php:5
- > PHP Fatal error
Uncaught Error: Class 'Aucor_Core_Sub_Feature' not found in wp-content/plugins/aucor-core/features/security/sub_features/class-security-remove-comment-moderation.php:5
- > PHP Fatal error
Uncaught Error: Class 'Aucor_Core_Sub_Feature' not found in wp-content/plugins/aucor-core/features/dashboard/sub_features/class-dashboard-remove-panels.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/aucor-core/tests/admin/test-admin-remove-customizer.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/aucor-core/tests/localization/test-localization.php:8
- > 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 96% from 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
3 plugin tags: wordpress, core, aucor
aucor-core/plugin.php 92% from 13 tests
The main file in "Aucor core" v. 1.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("aucor-core.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected3,984 lines of code in 103 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 90 | 1,180 | 1,568 | 3,300 |
JavaScript | 2 | 47 | 94 | 127 |
Bourne Shell | 1 | 21 | 11 | 123 |
Markdown | 1 | 26 | 0 | 85 |
YAML | 1 | 7 | 3 | 82 |
XML | 2 | 41 | 140 | 78 |
PO File | 2 | 20 | 24 | 68 |
JSON | 2 | 0 | 0 | 63 |
Sass | 1 | 3 | 0 | 57 |
CSS | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 1.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 88 | |
▷ Abstract classes | 2 | 2.27% |
▷ Concrete classes | 86 | 97.73% |
▷ Final classes | 0 | 0.00% |
Methods | 274 | |
▷ Static methods | 45 | 16.42% |
▷ Public methods | 274 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 23 | 71.88% |
▷ Anonymous functions | 9 | 28.12% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin