Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼3.06ms] Passed 4 tests
Server-side resources used by Tigris Flexplatform
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 30.98 ▼10.31 |
Dashboard /wp-admin | 3.77 ▲0.46 | 50.59 ▼6.50 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 52.47 ▲2.45 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 101.01 ▲8.78 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 40.36 ▲2.12 |
All Vacancies /wp-admin/edit.php?post_type=vacatures | 3.73 | 41.59 |
Add New /wp-admin/post-new.php?post_type=branch | 3.82 | 58.68 |
All Branches /wp-admin/edit.php?post_type=branch | 3.73 | 41.78 |
Tags /wp-admin/edit-tags.php?taxonomy=tigristag&post_type=vacatures | 3.68 | 40.30 |
Vacancies Categories /wp-admin/edit-tags.php?taxonomy=tigrisvacancies&post_type=vacatures | 3.68 | 39.08 |
Add New /wp-admin/post-new.php?post_type=vacatures | 3.82 | 59.04 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Tigris Flexplatform
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲228 | 13.52 ▼0.63 | 9.05 ▲7.21 | 39.93 ▼4.30 |
Dashboard /wp-admin | 2,257 ▲77 | 5.53 ▼0.16 | 88.05 ▼12.67 | 77.58 ▲34.44 |
Posts /wp-admin/edit.php | 2,180 ▲80 | 2.02 ▲0.05 | 36.65 ▼3.45 | 40.03 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,601 ▲75 | 18.29 ▼4.94 | 693.02 ▲11.46 | 65.11 ▲12.10 |
Media Library /wp-admin/upload.php | 1,477 ▲80 | 4.27 ▼0.02 | 96.69 ▼17.00 | 68.41 ▲20.56 |
All Vacancies /wp-admin/edit.php?post_type=vacatures | 1,258 | 1.93 | 35.52 | 33.38 |
Add New /wp-admin/post-new.php?post_type=branch | 2,436 | 7.76 | 177.80 | 138.72 |
All Branches /wp-admin/edit.php?post_type=branch | 1,146 | 1.93 | 34.51 | 36.28 |
Tags /wp-admin/edit-tags.php?taxonomy=tigristag&post_type=vacatures | 1,326 | 2.17 | 28.04 | 30.96 |
Vacancies Categories /wp-admin/edit-tags.php?taxonomy=tigrisvacancies&post_type=vacatures | 1,354 | 2.14 | 26.17 | 31.86 |
Add New /wp-admin/post-new.php?post_type=vacatures | 2,634 | 7.74 | 174.40 | 118.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tigris-flexplatform/templates/category-tigrisvacancies.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/tigris-flexplatform/templates/single-tigrisbranch.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/tigris-flexplatform/templates/form-tigrisvacancy.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tigris-flexplatform/templates/single-tigrisvacancy.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/tigris-flexplatform/templates/ajax-tigrisvacancy.php:8
- > PHP Notice
Undefined index: att in wp-content/plugins/tigris-flexplatform/templates/form-tigrisvacancy.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/tigris-flexplatform/templates/vacancy_list.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/tigris-flexplatform/templates/form-tigrisresume.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% 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
6 plugin tags: salesforce, plugin for wordpress, wordpress extension, tigris, plugin package...
tigris-flexplatform/index.php 69% from 13 tests
This is the main PHP file of "Tigris Flexplatform" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("tigris-flexplatform.php" instead of "index.php")
- Domain Path: The domain path should be prefixed with a forward slash character ("//")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("/")
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
There were no executable files found in this plugin5,255 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 532 | 486 | 3,138 |
CSS | 2 | 32 | 19 | 926 |
PO File | 2 | 409 | 434 | 895 |
JavaScript | 2 | 32 | 47 | 246 |
SVG | 1 | 0 | 0 | 50 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 5.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 10 | 83.33% |
▷ Protected methods | 2 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 56 | |
▷ Named functions | 55 | 98.21% |
▷ Anonymous functions | 1 | 1.79% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/amconsoft_logo.png | 9.33KB | 4.23KB | ▼ 54.62% |
assets/img/plugin-icon.png | 0.94KB | 0.98KB | 0.00% |