Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼4.10ms] Passed 4 tests
Server-side resources used by Axio Core
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 41.78 ▲4.17 |
Dashboard /wp-admin | 3.69 ▲0.39 | 42.66 ▼4.31 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 51.86 ▲3.81 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 79.64 ▼19.34 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 38.30 ▲3.44 |
All Comments /wp-admin/edit-comments.php | 3.50 | 24.64 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 120 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Axio Core: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,976 ▼785 | 14.05 ▼0.51 | 1.41 ▼0.22 | 44.37 ▲4.01 |
Dashboard /wp-admin | 1,420 ▼760 | 5.33 ▼0.33 | 81.34 ▼7.05 | 36.34 ▼5.97 |
Posts /wp-admin/edit.php | 1,935 ▼165 | 1.98 ▲0.03 | 38.60 ▲1.88 | 34.30 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,493 ▼35 | 23.05 ▼0.10 | 652.98 ▲30.34 | 59.85 ▲5.80 |
Media Library /wp-admin/upload.php | 1,361 ▼33 | 4.22 ▲0.11 | 108.89 ▲5.98 | 47.07 ▲7.23 |
All Comments /wp-admin/edit-comments.php | 1,423 | 5.19 | 53.41 | 30.91 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/axio-core/tests/bootstrap.php
- 99× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/axio-core/tests/localization/test-localization.php:8
- > PHP Fatal error
Uncaught Error: Class 'Axio_Core_Sub_Feature' not found in wp-content/plugins/axio-core/features/admin/sub_features/class-admin-notifications.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/axio-core/tests/dashboard/test-dashboard-cleanup.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/axio-core/tests/dashboard/test-dashboard-remove-panels.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/axio-core/tests/plugins/test-plugins-seo.php:8
- > PHP Fatal error
Uncaught Error: Class 'Axio_Core_Sub_Feature' not found in wp-content/plugins/axio-core/features/localization/sub_features/class-localization-string-translations.php:22
- > PHP Fatal error
Uncaught Error: Class 'Axio_Core_Feature' not found in wp-content/plugins/axio-core/features/dashboard/class-dashboard.php:5
- > PHP Fatal error
Uncaught Error: Class 'Axio_Core_Feature' not found in wp-content/plugins/axio-core/features/classic-editor/class-classic-editor.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/axio-core/tests/security/test-security-remove-comment-moderation.php:8
- > PHP Fatal error
Uncaught Error: Class 'Axio_Core_Sub_Feature' not found in wp-content/plugins/axio-core/features/admin/sub_features/class-admin-profile-cleanup.php:5
- > 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 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
4 plugin tags: core, wordpress, axio-starter, axio
axio-core/plugin.php 92% from 13 tests
The main PHP script in "Axio Core" version 1.1.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("axio-core.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected4,208 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 103 | 1,457 | 1,791 | 3,721 |
Bourne Shell | 1 | 21 | 11 | 123 |
Markdown | 1 | 23 | 0 | 88 |
YAML | 1 | 7 | 3 | 82 |
XML | 2 | 41 | 140 | 79 |
PO File | 2 | 20 | 24 | 68 |
CSS | 1 | 9 | 2 | 40 |
JSON | 1 | 0 | 0 | 7 |
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.08 |
Average class complexity | 1.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 2 | 1.96% |
▷ Concrete classes | 100 | 98.04% |
▷ Final classes | 0 | 0.00% |
Methods | 315 | |
▷ Static methods | 52 | 16.51% |
▷ Public methods | 315 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 41 | |
▷ Named functions | 31 | 75.61% |
▷ Anonymous functions | 10 | 24.39% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin