Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'AquilaFeatures\Plugin' does not have a method 'activate'
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.89ms] Passed 4 tests
Server-side resources used by Aquila Features
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.02 ▼5.46 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.55 ▼9.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.13 ▲0.29 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.98 ▼1.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.26 ▲0.35 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Aquila Features
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲45 | 13.24 ▼1.15 | 4.21 ▲2.19 | 42.00 ▼9.13 |
Dashboard /wp-admin | 2,206 ▲18 | 5.87 ▲0.97 | 106.58 ▼11.34 | 43.13 ▲0.04 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.13 | 38.59 ▼0.14 | 34.23 ▼3.71 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.47 ▼4.63 | 653.34 ▼28.00 | 53.12 ▼6.79 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.18 ▲0.04 | 100.75 ▼0.73 | 42.33 ▼1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'AquilaFeatures\Plugin' does not have a method 'deactivate'
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/aquila-features/templates/patterns/two-columns-secondary.php
- > /wp-content/plugins/aquila-features/templates/patterns/two-columns.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/aquila-features/aquila-features.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #1 in aquila-features/assets to your readme.txt
aquila-features/aquila-features.php 77% from 13 tests
This is the main PHP file of "Aquila Features" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "5.2")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Requires PHP: The required version number must match the one declared in readme.txt ("5.2.4" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected804 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 279 | 277 | 758 |
JavaScript | 1 | 10 | 31 | 41 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 1 | 3 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 13.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 15 | 32.61% |
▷ Public methods | 41 | 89.13% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.87% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 5 | 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 files were detected