Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.38MB] [CPU: ▼45.36ms] Passed 4 tests
An overview of server-side resources used by Author: Francis Crossen (fcrossen)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.56 ▼0.90 | 10.66 ▼29.78 |
Dashboard /wp-admin | 2.66 ▼0.69 | 14.23 ▼44.45 |
Posts /wp-admin/edit.php | 2.66 ▼0.70 | 13.62 ▼33.21 |
Add New Post /wp-admin/post-new.php | 2.66 ▼3.23 | 13.99 ▼73.98 |
Media Library /wp-admin/upload.php | 2.66 ▼0.57 | 11.83 ▼19.66 |
Widgets, Shortcodes, call_controller() /wp-admin/admin.php?page=tina_mvc_widgets_shortcodes | 2.65 | 12.83 |
Using Views /wp-admin/admin.php?page=tina_mvc_using_views | 2.65 | 15.20 |
Table and Pagination Helpers /wp-admin/admin.php?page=tina_mvc_table_and_pagination_helpers | 2.65 | 12.17 |
Tina MVC /wp-admin/admin.php?page=tina_mvc_for_wordpress | 2.65 | 15.20 |
Form Helper - Advanced Use /wp-admin/admin.php?page=tina_mvc_form_helper_advanced | 2.65 | 12.64 |
Helper Functions /wp-admin/admin.php?page=tina_mvc_helper_functions | 2.65 | 14.51 |
File Locations /wp-admin/admin.php?page=tina_mvc_file_locations | 2.65 | 12.07 |
Form Helper - Introduction /wp-admin/admin.php?page=tina_mvc_form_helper_intro | 2.65 | 13.84 |
Hello World Tutorial /wp-admin/admin.php?page=tina_mvc_hello_world | 2.65 | 13.30 |
Custom login functionality /wp-admin/admin.php?page=tina_mvc_custom_login | 2.65 | 13.56 |
Server storage [IO: ▲0.44MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 109 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_tina_mvc_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
tina_mvc_settings |
tina_mvc_plugin_active |
Browser metrics Passed 4 tests
An overview of browser requirements for Author: Francis Crossen (fcrossen)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,701 ▼45 | 14.79 ▲0.23 | 1.20 ▼0.70 | 43.04 ▲0.26 |
Dashboard /wp-admin | 2,284 ▲96 | 4.86 ▼1.02 | 104.31 ▼0.29 | 43.15 ▲3.16 |
Posts /wp-admin/edit.php | 2,164 ▲75 | 2.02 ▲0.01 | 36.10 ▼7.16 | 32.88 ▼4.38 |
Add New Post /wp-admin/post-new.php | 1,591 ▲74 | 23.20 ▲5.61 | 665.64 ▼17.60 | 65.46 ▲10.60 |
Media Library /wp-admin/upload.php | 1,466 ▲81 | 4.23 ▲0.03 | 96.47 ▼0.63 | 44.16 ▲2.43 |
Widgets, Shortcodes, call_controller() /wp-admin/admin.php?page=tina_mvc_widgets_shortcodes | 1,012 | 2.02 | 26.21 | 54.22 |
Using Views /wp-admin/admin.php?page=tina_mvc_using_views | 1,627 | 2.29 | 22.35 | 33.02 |
Table and Pagination Helpers /wp-admin/admin.php?page=tina_mvc_table_and_pagination_helpers | 4,422 | 2.03 | 24.88 | 49.91 |
Tina MVC /wp-admin/admin.php?page=tina_mvc_for_wordpress | 1,055 | 2.02 | 22.04 | 36.61 |
Form Helper - Advanced Use /wp-admin/admin.php?page=tina_mvc_form_helper_advanced | 1,977 | 2.02 | 21.96 | 33.08 |
Helper Functions /wp-admin/admin.php?page=tina_mvc_helper_functions | 1,734 | 2.02 | 23.66 | 34.35 |
File Locations /wp-admin/admin.php?page=tina_mvc_file_locations | 1,086 | 2.02 | 21.79 | 34.81 |
Form Helper - Introduction /wp-admin/admin.php?page=tina_mvc_form_helper_intro | 2,210 | 2.02 | 22.71 | 36.43 |
Hello World Tutorial /wp-admin/admin.php?page=tina_mvc_hello_world | 1,780 | 2.14 | 23.19 | 34.03 |
Custom login functionality /wp-admin/admin.php?page=tina_mvc_custom_login | 941 | 2.02 | 23.78 | 28.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in tina_mvc_widget is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options were found after uninstall: 7 options
- widget_tina_mvc_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tina_mvc_custom_login
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in tina_mvc_widget is deprecated since version 4.3.0! Use __construct() instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tina_mvc_custom_login
- > Notice in wp-content/plugins/tina-mvc/tina_mvc/admin_pages/admin_pages_controller.php+94
Undefined property: admin_pages_controller::$view_data
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/tina-mvc/tina_mvc/pages/registration_reset_password_email.php
- > /wp-content/plugins/tina-mvc/tina_mvc/pages/registration_index_email.php
- > /wp-content/plugins/tina-mvc/tina_mvc/pages/registration_password_reset_confirmation_email.php
- > /wp-content/plugins/tina-mvc/tina_mvc/3rd_party/recaptcha/example-mailhide.php
- > /wp-content/plugins/tina-mvc/tina_mvc/3rd_party/recaptcha/example-captcha.php
- 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/tina_mvc/pages/registration_controller.php:24
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/tina_mvc/pages/tina_mvc_child_page_controller.php:15
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/samples/02_using_views/using_views_2_controller.php:14
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/tina_mvc/pages/index_controller.php:11
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/samples/12_table_and_pagination_helpers/page_test_3_controller.php:20
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/tina_mvc/admin_pages/admin_pages_controller.php:13
- > PHP Warning
Creating default object from empty value in wp-content/plugins/tina-mvc/user_apps/default/app_settings_sample.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/samples/01_hello_world_tutorial/hello_world_controller.php:13
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/samples/12_table_and_pagination_helpers/html_table_controller.php:15
- > PHP Fatal error
Uncaught Error: Class 'TINA_MVC\\tina_mvc_controller_class' not found in wp-content/plugins/tina-mvc/samples/01_hello_world_tutorial/index_controller.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== Author: Francis Crossen (fcrossen) ===
)
tina-mvc/tina_mvc.php 92% from 13 tests
"Author: Francis Crossen (fcrossen)" version 1.0.13's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tina-mvc.php" instead of "tina_mvc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected4,920 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 64 | 2,257 | 4,170 | 4,900 |
CSS | 2 | 4 | 15 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 60 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 60 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 242 | |
▷ Static methods | 1 | 0.41% |
▷ Public methods | 221 | 91.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 8.68% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tina_mvc/admin_pages/assets/tina_mvc_widget.png | 16.85KB | 7.46KB | ▼ 55.75% |