Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.55ms] Passed 4 tests
Analyzing server-side resources used by XT Corporate ToolKit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 44.48 ▲2.30 |
Dashboard /wp-admin | 3.41 ▲0.10 | 49.92 ▼2.39 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 51.25 ▼1.23 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.40 ▼23.65 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.02 ▼2.93 |
Add Client /wp-admin/post-new.php?post_type=clients | 3.37 | 38.66 |
Services /wp-admin/edit.php?post_type=services | 3.37 | 37.63 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.38 | 38.21 |
Team /wp-admin/edit.php?post_type=team | 3.37 | 41.14 |
Clients /wp-admin/edit.php?post_type=clients | 3.37 | 36.28 |
Add Team Member /wp-admin/post-new.php?post_type=team | 3.37 | 46.88 |
Add Service /wp-admin/post-new.php?post_type=services | 3.37 | 42.39 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=portfolio | 3.32 | 44.39 |
Add Portfolio /wp-admin/post-new.php?post_type=portfolio | 3.46 | 53.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
category_children |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
XT Corporate ToolKit: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲172 | 14.24 ▲0.04 | 1.90 ▲0.08 | 41.20 ▼3.71 |
Dashboard /wp-admin | 2,307 ▲127 | 5.59 ▼0.10 | 97.30 ▲6.06 | 38.50 ▼6.81 |
Posts /wp-admin/edit.php | 2,212 ▲112 | 2.03 ▼0.02 | 37.33 ▼0.06 | 37.34 ▲3.84 |
Add New Post /wp-admin/post-new.php | 1,640 ▲95 | 23.02 ▼0.47 | 638.50 ▼31.17 | 48.43 ▼11.29 |
Media Library /wp-admin/upload.php | 1,515 ▲115 | 4.26 ▲0.07 | 95.35 ▼21.72 | 44.21 ▼2.86 |
Add Client /wp-admin/post-new.php?post_type=clients | 1,517 | 2.50 | 51.12 | 54.72 |
Services /wp-admin/edit.php?post_type=services | 1,176 | 2.01 | 35.81 | 28.41 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,223 | 1.95 | 36.27 | 37.48 |
Team /wp-admin/edit.php?post_type=team | 1,176 | 1.97 | 39.94 | 38.42 |
Clients /wp-admin/edit.php?post_type=clients | 1,176 | 1.99 | 33.96 | 35.94 |
Add Team Member /wp-admin/post-new.php?post_type=team | 1,514 | 2.48 | 58.95 | 63.76 |
Add Service /wp-admin/post-new.php?post_type=services | 1,517 | 2.48 | 52.16 | 54.45 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=portfolio | 1,570 | 2.16 | 29.17 | 36.68 |
Add Portfolio /wp-admin/post-new.php?post_type=portfolio | 2,386 | 7.76 | 170.56 | 58.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- category_children
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xt-corporate-toolkit/xt-corporate-toolkit.php:104
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: business, corporate, toolkit
xt-corporate-toolkit/xt-corporate-toolkit.php 92% from 13 tests
The main file in "XT Corporate ToolKit" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin208 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 17 | 208 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin