Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.71MB] [CPU: ▲4.20ms] Passed 4 tests
This is a short check of server-side resources used by Aquila Admin Theme
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.11 ▲1.65 | 55.36 ▲20.08 |
Dashboard /wp-admin | 5.02 ▲1.67 | 50.14 ▼4.36 |
Posts /wp-admin/edit.php | 5.16 ▲1.80 | 66.41 ▲19.24 |
Add New Post /wp-admin/post-new.php | 7.72 ▲1.84 | 86.62 ▼16.54 |
Media Library /wp-admin/upload.php | 4.96 ▲1.73 | 51.11 ▲18.47 |
Aquila /wp-admin/options-general.php?page=aquilaSettings | 4.95 | 49.69 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 87 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Aquila Admin Theme: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,032 ▼729 | 14.93 ▲0.64 | 7.14 ▲5.55 | 37.78 ▼0.33 |
Dashboard /wp-admin | 1,469 ▼712 | 6.18 ▲0.49 | 102.94 ▲5.58 | 63.71 ▲20.92 |
Posts /wp-admin/edit.php | 2,256 ▲153 | 3.61 ▲1.64 | 54.29 ▲9.26 | 50.69 ▲15.86 |
Add New Post /wp-admin/post-new.php | 1,676 ▲148 | 22.28 ▲1.33 | 648.98 ▲45.67 | 50.20 ▲1.39 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.35 ▲0.16 | 96.82 ▼2.73 | 46.72 ▲5.02 |
Aquila /wp-admin/options-general.php?page=aquilaSettings | 1,076 | 3.40 | 43.58 | 37.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aquila-admin-theme/admin/options/registerSettings.php:3
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 require attention:
- Tags: Please delete some tags, you are using 29 tag instead of maximum 10
- Screenshots: A description for screenshot #8 is required in aquila-admin-theme/assets to your readme.txt
aquila-admin-theme/aquila-admin-theme.php Passed 13 tests
The main PHP file in "Aquila Admin Theme" ver. 3.1.1 adds more information about the plugin and also serves as the entry point for this plugin
22 characters long description:
The Aquila Admin Theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin13,140 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 812 | 514 | 4,905 |
CSS | 8 | 9 | 27 | 3,157 |
LESS | 12 | 543 | 198 | 2,974 |
JSON | 1 | 0 | 0 | 1,413 |
PO File | 3 | 189 | 205 | 431 |
JavaScript | 2 | 11 | 15 | 155 |
SVG | 2 | 1 | 0 | 59 |
Markdown | 1 | 19 | 0 | 46 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 135.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 352.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 172 | |
▷ Static methods | 4 | 2.33% |
▷ Public methods | 31 | 18.02% |
▷ Protected methods | 141 | 81.98% |
▷ Private methods | 0 | 0.00% |
Functions | 79 | |
▷ Named functions | 78 | 98.73% |
▷ Anonymous functions | 1 | 1.27% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/aqlMini.png | 8.80KB | 4.37KB | ▼ 50.38% |
images/aqlMiniWhite.png | 7.73KB | 4.18KB | ▼ 45.83% |
images/aqlFull.png | 30.72KB | 15.96KB | ▼ 48.05% |
images/aqlLogo.png | 35.55KB | 16.59KB | ▼ 53.33% |