Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▲1.20ms] Passed 4 tests
This is a short check of server-side resources used by Kopa Nictitate Toolkit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 52.71 ▲9.50 |
Dashboard /wp-admin | 3.79 ▲0.49 | 62.09 ▲8.77 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 63.11 ▲6.16 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 101.52 ▼14.19 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 46.08 ▲4.04 |
Client Tags /wp-admin/edit-tags.php?taxonomy=client_tag&post_type=clients | 3.71 | 47.16 |
Projects /wp-admin/edit-tags.php?taxonomy=portfolio_project&post_type=portfolio | 3.71 | 44.28 |
Add New /wp-admin/post-new.php?post_type=clients | 3.80 | 64.12 |
Add New /wp-admin/post-new.php?post_type=staffs | 3.86 | 65.63 |
Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 3.71 | 45.77 |
All Items /wp-admin/edit.php?post_type=clients | 3.76 | 48.31 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.87 | 64.78 |
Service Categories /wp-admin/edit-tags.php?taxonomy=service_category&post_type=services | 3.71 | 46.01 |
All Items /wp-admin/edit.php?post_type=portfolio | 3.76 | 46.99 |
Testimonial Tags /wp-admin/edit-tags.php?taxonomy=testimonial_tag&post_type=testimonials | 3.71 | 49.46 |
Server storage [IO: ▲0.11MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Kopa Nictitate Toolkit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲222 | 14.36 ▼0.01 | 3.94 ▲1.92 | 49.27 ▲2.78 |
Dashboard /wp-admin | 2,374 ▲197 | 5.54 ▼0.12 | 86.26 ▲0.13 | 45.75 ▲5.72 |
Posts /wp-admin/edit.php | 2,279 ▲179 | 2.01 ▲0.00 | 36.20 ▼4.41 | 38.30 ▲3.26 |
Add New Post /wp-admin/post-new.php | 1,677 ▲142 | 23.27 ▲0.08 | 587.41 ▼125.64 | 66.86 ▲11.04 |
Media Library /wp-admin/upload.php | 1,582 ▲185 | 4.08 ▼0.05 | 97.48 ▼24.56 | 46.15 ▼3.36 |
Client Tags /wp-admin/edit-tags.php?taxonomy=client_tag&post_type=clients | 1,425 | 2.26 | 27.21 | 31.41 |
Projects /wp-admin/edit-tags.php?taxonomy=portfolio_project&post_type=portfolio | 1,455 | 2.25 | 30.68 | 30.66 |
Add New /wp-admin/post-new.php?post_type=clients | 2,007 | 3.74 | 68.22 | 34.66 |
Add New /wp-admin/post-new.php?post_type=staffs | 2,819 | 7.23 | 186.54 | 76.32 |
Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 1,425 | 2.26 | 27.11 | 34.25 |
All Items /wp-admin/edit.php?post_type=clients | 1,268 | 1.97 | 30.76 | 33.99 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,802 | 8.07 | 185.48 | 59.27 |
Service Categories /wp-admin/edit-tags.php?taxonomy=service_category&post_type=services | 1,455 | 2.16 | 27.21 | 31.39 |
All Items /wp-admin/edit.php?post_type=portfolio | 1,265 | 1.96 | 31.68 | 31.74 |
Testimonial Tags /wp-admin/edit-tags.php?taxonomy=testimonial_tag&post_type=testimonials | 1,428 | 2.16 | 29.95 | 36.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/posttype/client.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/posttype/options_client.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/posttype/service.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/posttype/staff.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/posttype/options_staff.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/kopa-nictitate-toolkit.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/posttype/options_service.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/kopa-nictitate-toolkit/kopa-shortcodes.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/posttype/options_portfolio.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kopa-nictitate-toolkit/posttype/options_testimonial.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 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
There were no plugin tags found
kopa-nictitate-toolkit/kopa-nictitate-toolkit.php Passed 13 tests
Analyzing the main PHP file in "Kopa Nictitate Toolkit" version 1.0.2
88 characters long description:
A specific plugin use in Nictitate Theme to help you register post types and shortcodes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,771 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 218 | 48 | 1,183 |
JavaScript | 20 | 6 | 0 | 355 |
PO File | 1 | 107 | 329 | 233 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 45 | |
▷ Named functions | 45 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
21 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/shortcodes/icons/alert.png | 3.32KB | 0.90KB | ▼ 72.94% |
js/shortcodes/icons/one_fourth.png | 0.25KB | 0.19KB | ▼ 22.87% |
js/shortcodes/icons/posts_popular.png | 0.43KB | 0.41KB | ▼ 5.44% |
js/shortcodes/icons/contact_form.png | 0.67KB | 0.72KB | 0.00% |
js/shortcodes/icons/youtube.png | 0.52KB | 0.32KB | ▼ 38.18% |