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.35MB] [CPU: ▼3.68ms] Passed 4 tests
Server-side resources used by Theme Toolkit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 42.77 ▲1.18 |
Dashboard /wp-admin | 3.64 ▲0.34 | 48.66 ▼2.91 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 56.25 ▼4.48 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 87.18 ▼8.50 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 35.11 ▲3.20 |
Add New /wp-admin/post-new.php?post_type=tt-testimonials | 3.68 | 48.33 |
All Items /wp-admin/edit.php?post_type=tt-testimonials | 3.61 | 36.77 |
All Items /wp-admin/edit.php?post_type=tt-team | 3.61 | 36.95 |
Categories /wp-admin/edit-tags.php?taxonomy=tt-categories&post_type=tt-portfolio | 3.56 | 34.25 |
Add New /wp-admin/post-new.php?post_type=tt-portfolio | 3.68 | 51.26 |
Add New /wp-admin/post-new.php?post_type=tt-team | 3.62 | 46.45 |
Add New /wp-admin/post-new.php?post_type=tt-partners | 3.62 | 45.93 |
All Items /wp-admin/edit.php?post_type=tt-portfolio | 3.61 | 38.72 |
All Items /wp-admin/edit.php?post_type=tt-partners | 3.61 | 34.87 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
widget_theme-toolkit-testimonials |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_theme-toolkit-portfolio |
widget_theme-toolkit-team |
widget_theme-toolkit-partners |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Theme Toolkit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,036 ▲290 | 13.54 ▼0.84 | 8.98 ▲7.07 | 42.79 ▼2.89 |
Dashboard /wp-admin | 2,318 ▲130 | 5.97 ▲1.11 | 97.08 ▼16.94 | 38.72 ▼4.80 |
Posts /wp-admin/edit.php | 2,201 ▲109 | 2.03 ▲0.03 | 37.15 ▼3.58 | 33.20 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,628 ▲95 | 23.44 ▲0.51 | 717.82 ▲91.54 | 55.73 ▼0.45 |
Media Library /wp-admin/upload.php | 1,500 ▲112 | 4.23 ▼0.03 | 94.69 ▼7.80 | 41.27 ▼1.42 |
Add New /wp-admin/post-new.php?post_type=tt-testimonials | 2,238 | 7.80 | 165.45 | 68.13 |
All Items /wp-admin/edit.php?post_type=tt-testimonials | 1,165 | 1.95 | 30.65 | 34.43 |
All Items /wp-admin/edit.php?post_type=tt-team | 1,165 | 1.94 | 29.76 | 30.01 |
Categories /wp-admin/edit-tags.php?taxonomy=tt-categories&post_type=tt-portfolio | 1,377 | 2.14 | 25.64 | 26.99 |
Add New /wp-admin/post-new.php?post_type=tt-portfolio | 2,364 | 7.74 | 160.02 | 53.05 |
Add New /wp-admin/post-new.php?post_type=tt-team | 1,839 | 3.80 | 61.99 | 32.62 |
Add New /wp-admin/post-new.php?post_type=tt-partners | 1,750 | 3.51 | 63.45 | 30.49 |
All Items /wp-admin/edit.php?post_type=tt-portfolio | 1,179 | 1.93 | 30.67 | 31.08 |
All Items /wp-admin/edit.php?post_type=tt-partners | 1,165 | 1.99 | 30.97 | 31.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 10 options
- widget_theysaidso_widget
- widget_theme-toolkit-team
- widget_recent-posts
- widget_theme-toolkit-portfolio
- widget_theme-toolkit-testimonials
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theme-toolkit-partners
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
Almost there! Just fix the following items
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-toolkit/team/team.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-toolkit/testimonials/testimonials.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-toolkit/portfolio/portfolio.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-toolkit/portfolio/portfolio-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-toolkit/testimonials/testimonials-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-toolkit/team/team-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-toolkit/partners/partners-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-toolkit/partners/partners.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: theme, custom fields, metaboxes, extension, custom post type...
theme-toolkit/theme-toolkit.php 92% from 13 tests
This is the main PHP file of "Theme Toolkit" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 220 characters long)
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 plugin6,682 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 126 | 32 | 2,772 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 10 | 462 | 73 | 1,200 |
JavaScript | 2 | 8 | 11 | 39 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 15.60 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 28 | |
▷ Static methods | 1 | 3.57% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 14.29% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There are no PNG files in this plugin