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: ▲0.15MB] [CPU: ▼4.50ms] Passed 4 tests
A check of server-side resources used by Cyoud AIO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.90 ▼3.52 |
Dashboard /wp-admin | 3.50 ▲0.19 | 47.76 ▼0.60 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.04 ▲2.41 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 89.41 ▼16.30 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 40.02 ▲3.70 |
Dashboard /wp-admin/admin.php?page=caio | 3.35 | 33.29 |
Advanced /wp-admin/admin.php?page=caio-advanced | 3.33 | 31.51 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 25 new options
New WordPress options |
---|
caio_irPost |
widget_recent-comments |
caio_rvWebcmf |
caio_yDecor |
caio_bwmCode |
caio_psIcon |
caio_rvQuerys |
caio_gwmtCode |
caio_activate |
caio_rvWPV |
... |
Browser metrics Passed 4 tests
Cyoud AIO: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲167 | 13.46 ▼0.89 | 9.66 ▲7.86 | 40.66 ▼2.62 |
Dashboard /wp-admin | 2,226 ▲49 | 5.60 ▼0.08 | 92.33 ▼1.01 | 42.09 ▲1.49 |
Posts /wp-admin/edit.php | 2,134 ▲37 | 2.01 ▲0.04 | 37.59 ▲2.03 | 36.59 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 22.87 ▼0.18 | 654.28 ▼23.45 | 51.03 ▼15.09 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.37 ▲0.17 | 98.38 ▼13.51 | 46.45 ▼4.67 |
Dashboard /wp-admin/admin.php?page=caio | 1,373 | 1.66 | 24.12 | 37.51 |
Advanced /wp-admin/admin.php?page=caio-advanced | 1,124 | 2.02 | 26.12 | 32.33 |
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 25 options in the database
- caio_pvCount
- caio_jqUpgrade
- caio_rvEmoji
- caio_irPost
- db_upgraded
- caio_tmceEx
- caio_bwmCode
- caio_rvScript
- caio_rvjQuery
- caio_rvQuerys
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cyoud-aio/inc/sidebar.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined index: page in wp-content/plugins/cyoud-aio/inc/sidebar.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function Caio\\add_option() in wp-content/plugins/cyoud-aio/app.php:14
- > PHP Notice
Undefined index: page in wp-content/plugins/cyoud-aio/inc/sidebar.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/cyoud-aio/inc/dashboard.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/cyoud-aio/inc/advanced.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/cyoud-aio/inc/lunar/index.php:1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: view post count, site decoration, social icon, related post
cyoud-aio/index.php 92% from 13 tests
This is the main PHP file of "Cyoud AIO" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cyoud-aio.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,992 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 45 | 38 | 958 |
JavaScript | 4 | 16 | 11 | 612 |
CSS | 2 | 7 | 3 | 297 |
HTML | 1 | 0 | 0 | 125 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 51 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
18 PNG files occupy 0.29MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/christmas/holiday_bells/images/balls/b-ball_i1.png | 4.89KB | 2.50KB | ▼ 48.98% |
inc/christmas/holiday_bells/images/balls/b-ball_i2.png | 4.04KB | 2.36KB | ▼ 41.47% |
inc/christmas/holiday_bells/images/balls/b-ball_n6.png | 7.02KB | 2.80KB | ▼ 60.13% |
inc/christmas/holiday_bells/images/balls/b-ball_n8.png | 5.03KB | 2.50KB | ▼ 50.27% |
inc/lunar/image/banner_left.png | 65.16KB | 17.56KB | ▼ 73.05% |