Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼3.05ms] Passed 4 tests
Server-side resources used by TP Philosophy Tools
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 38.53 ▼0.80 |
Dashboard /wp-admin | 3.50 ▲0.20 | 49.55 ▲5.95 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 48.23 ▲6.25 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 87.10 ▼23.58 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 38.47 ▲6.23 |
Add New /wp-admin/post-new.php?post_type=tp-philosophy-teams | 3.57 | 51.35 |
Team Category /wp-admin/edit-tags.php?taxonomy=tp-philosophy-teams-category&post_type=tp-philosophy-teams | 3.41 | 35.14 |
All Teams /wp-admin/edit.php?post_type=tp-philosophy-teams | 3.46 | 38.08 |
All Testimonials /wp-admin/edit.php?post_type=tp-philosophy-testi | 3.46 | 33.27 |
Add New /wp-admin/post-new.php?post_type=tp-philosophy-testi | 3.56 | 50.31 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for TP Philosophy Tools
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲131 | 13.15 ▼1.17 | 1.70 ▼0.23 | 39.95 ▼7.66 |
Dashboard /wp-admin | 2,266 ▲80 | 4.81 ▼0.11 | 111.64 ▲7.50 | 38.72 ▼0.25 |
Posts /wp-admin/edit.php | 2,149 ▲60 | 2.06 ▲0.06 | 40.16 ▲0.40 | 36.84 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,571 ▲29 | 23.26 ▲5.02 | 675.13 ▲74.58 | 50.61 ▼2.81 |
Media Library /wp-admin/upload.php | 1,451 ▲63 | 4.16 ▼0.04 | 94.22 ▼3.90 | 44.08 ▼0.23 |
Add New /wp-admin/post-new.php?post_type=tp-philosophy-teams | 2,945 | 8.02 | 199.41 | 87.01 |
Team Category /wp-admin/edit-tags.php?taxonomy=tp-philosophy-teams-category&post_type=tp-philosophy-teams | 1,319 | 2.14 | 25.99 | 27.43 |
All Teams /wp-admin/edit.php?post_type=tp-philosophy-teams | 1,172 | 1.94 | 31.13 | 30.55 |
All Testimonials /wp-admin/edit.php?post_type=tp-philosophy-testi | 1,164 | 1.94 | 30.68 | 29.61 |
Add New /wp-admin/post-new.php?post_type=tp-philosophy-testi | 2,742 | 7.85 | 171.67 | 63.93 |
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: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 9× 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/tp-philosophy-tools/template-parts/tp-content-team-single.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tp-philosophy-tools/template-parts/tp-content-team.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tp-philosophy-tools/templates/tp-single-testimonial.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tp-philosophy-tools/template-parts/tp-content-testimonial.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tp-philosophy-tools/include/tp-philosophy-tools-functions.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tp-philosophy-tools/templates/tp-archive-team.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tp-philosophy-tools/templates/tp-single-team.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tp-philosophy-tools/templates/tp-archive-testimonial.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tp-philosophy-tools/template-parts/tp-content-testimonial-single.php:49
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #5 in tp-philosophy-tools/assets to your readme.txt
tp-philosophy-tools/tp-philosophy-tools.php 85% from 13 tests
The main file in "TP Philosophy Tools" v. 1.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
- Domain Path: The domain path folder was not found ("/languages/")
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,121 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 165 | 226 | 768 |
CSS | 2 | 15 | 22 | 352 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 4.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin