Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼4.73ms] Passed 4 tests
This is a short check of server-side resources used by Xylus Toolkit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 37.23 ▼9.45 |
Dashboard /wp-admin | 3.82 ▲0.52 | 50.11 ▲3.79 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 49.11 ▼4.94 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 81.43 ▼5.28 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.31 ▲0.77 |
Server storage [IO: ▲0.10MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Xylus Toolkit: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,999 ▲253 | 13.20 ▼1.56 | 1.84 ▼0.05 | 38.85 ▼6.02 |
Dashboard /wp-admin | 2,415 ▲227 | 5.88 ▲1.00 | 98.54 ▼17.41 | 93.82 ▲49.07 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 1.99 ▼0.04 | 36.65 ▲2.17 | 35.75 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.25 ▲5.74 | 640.79 ▼49.76 | 49.99 ▼5.66 |
Media Library /wp-admin/upload.php | 1,387 ▼4 | 4.23 ▼0.03 | 94.61 ▼6.73 | 42.45 ▼2.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/xylus-toolkit/admin/partials/xylus-toolkit-admin-display.php
- > /wp-content/plugins/xylus-toolkit/public/partials/xylus-toolkit-public-display.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xylus-toolkit/includes/class-xylus-toolkit-post-types.php:688
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xylus-toolkit/admin/metabox/xylus-toolkit-metabox.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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: xylus, xylus themes, toolkit, theme
xylus-toolkit/xylus-toolkit.php Passed 13 tests
"Xylus Toolkit" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
94 characters long description:
The Xylus Toolkit extends functionality to Xylus Themes, providing custom post types and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin985 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 247 | 660 | 960 |
CSS | 2 | 0 | 4 | 19 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 2 | 3.70% |
▷ Public methods | 49 | 90.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.26% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG files were detected