Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼7.36ms] Passed 4 tests
A check of server-side resources used by Apex Digital Toolbox
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 36.29 ▼6.19 |
Dashboard /wp-admin | 3.54 ▲0.19 | 47.85 ▼17.33 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 50.04 ▲3.57 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 89.05 ▼9.47 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.60 ▲4.29 |
Hooks /wp-admin/admin.php?page=apex_toolbox_hooks | 3.70 | 37.61 |
Settings /wp-admin/admin.php?page=apex_toolbox_settings | 3.37 | 32.80 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Apex Digital Toolbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲70 | 14.05 ▼0.09 | 1.75 ▲0.05 | 39.87 ▼6.80 |
Dashboard /wp-admin | 2,222 ▲42 | 5.62 ▼0.02 | 87.32 ▼6.44 | 41.12 ▲2.48 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.96 ▼0.18 | 38.77 ▼4.72 | 36.30 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.27 ▲0.07 | 673.18 ▼91.91 | 55.31 ▲0.43 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.20 ▼0.05 | 99.57 ▼0.10 | 45.98 ▲3.82 |
Hooks /wp-admin/admin.php?page=apex_toolbox_hooks | 1,130 | 1.98 | 25.16 | 35.22 |
Settings /wp-admin/admin.php?page=apex_toolbox_settings | 803 | 2.00 | 24.84 | 25.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/apex-digital-toolbox/includes/class-wc-apex-custom-payment-gateway.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/apex-digital-toolbox/includes/elementor/WidgetListCategories.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: setup, staging, production, administration
apex-digital-toolbox/apex-digital-toolbox.php Passed 13 tests
Analyzing the main PHP file in "Apex Digital Toolbox" version 1.4.10
67 characters long description:
Adds additional functionality that to make it easier to setup sites
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 detected3,105 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 393 | 954 | 3,100 |
JavaScript | 1 | 0 | 0 | 4 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 21.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 189 | |
▷ Static methods | 6 | 3.17% |
▷ Public methods | 152 | 80.42% |
▷ Protected methods | 2 | 1.06% |
▷ Private methods | 35 | 18.52% |
Functions | 27 | |
▷ Named functions | 1 | 3.70% |
▷ Anonymous functions | 26 | 96.30% |
Constants | 11 | |
▷ Global constants | 4 | 36.36% |
▷ Class constants | 7 | 63.64% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin