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 gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.46ms] Passed 4 tests
Analyzing server-side resources used by Tiqbiz API
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.77 ▲1.41 |
Dashboard /wp-admin | 3.35 ▲0.05 | 53.95 ▲0.29 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 49.28 ▼5.77 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.66 ▼2.63 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.63 ▼1.73 |
Tiqbiz API Settings /wp-admin/options-general.php?page=tiqbiz-api-settings | 3.22 | 36.93 |
Server storage [IO: ▲0.10MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Tiqbiz API: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.30 ▼0.35 | 2.03 ▲0.36 | 44.03 ▼4.49 |
Dashboard /wp-admin | 2,206 ▲29 | 5.67 ▼0.08 | 97.82 ▼13.46 | 41.06 ▼13.64 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.03 ▼0.14 | 33.56 ▼10.32 | 34.58 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,542 ▼3 | 18.45 ▼4.84 | 625.53 ▼54.43 | 51.28 ▼1.50 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.25 ▲0.04 | 133.04 ▲16.23 | 49.35 ▲0.32 |
Tiqbiz API Settings /wp-admin/options-general.php?page=tiqbiz-api-settings | 878 | 2.06 | 23.64 | 31.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=tiqbiz-api-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=tiqbiz-api-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=tiqbiz-api-settings
- > Warning in wp-includes/functions.php+6691
file_get_contents(wp-content/plugins/eventON/eventon.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=tiqbiz-api-settings
- > Warning in wp-includes/functions.php+6691
file_get_contents(wp-content/plugins/calpress-event-calendar/calpress.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=tiqbiz-api-settings
- > Warning in wp-includes/functions.php+6691
file_get_contents(wp-content/plugins/calpress-pro/calpress-pro.php): failed to open stream: No such file or directory
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 22× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'League\\HTMLToMarkdown\\ElementInterface' not found in wp-content/plugins/tiqbiz-api/src/html-to-markdown/src/Element.php:5
- > PHP Fatal error
Uncaught Error: Interface 'League\\HTMLToMarkdown\\Converter\\ConverterInterface' not found in wp-content/plugins/tiqbiz-api/src/html-to-markdown/src/Converter/BlockquoteConverter.php:7
- > PHP Fatal error
Uncaught Error: Interface 'League\\HTMLToMarkdown\\Converter\\ConverterInterface' not found in wp-content/plugins/tiqbiz-api/src/html-to-markdown/src/Converter/PreformattedConverter.php:7
- > PHP Fatal error
Uncaught Error: Interface 'League\\HTMLToMarkdown\\Converter\\ConverterInterface' not found in wp-content/plugins/tiqbiz-api/src/html-to-markdown/src/Converter/HardBreakConverter.php:9
- > PHP Fatal error
Uncaught Error: Class 'Tiqbiz\\Api\\Api' not found in wp-content/plugins/tiqbiz-api/src/Settings.php:5
- > PHP Fatal error
Uncaught Error: Interface 'League\\HTMLToMarkdown\\Converter\\ConverterInterface' not found in wp-content/plugins/tiqbiz-api/src/html-to-markdown/src/Converter/CommentConverter.php:7
- > PHP Fatal error
Uncaught Error: Class 'Tiqbiz\\Api\\Api' not found in wp-content/plugins/tiqbiz-api/src/Posts.php:10
- > PHP Fatal error
Uncaught Error: Interface 'League\\HTMLToMarkdown\\Converter\\ConverterInterface' not found in wp-content/plugins/tiqbiz-api/src/html-to-markdown/src/Converter/LinkConverter.php:7
- > PHP Fatal error
Uncaught Error: Class 'Tiqbiz\\Api\\Posts' not found in wp-content/plugins/tiqbiz-api/src/Eventon.php:5
- > PHP Fatal error
Uncaught Error: Interface 'League\\HTMLToMarkdown\\Converter\\ConverterInterface' not found in wp-content/plugins/tiqbiz-api/src/html-to-markdown/src/Converter/ParagraphConverter.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: admin, api
tiqbiz-api/tiqbiz-api.php Passed 13 tests
The main PHP file in "Tiqbiz API" ver. 2.0.10 adds more information about the plugin and also serves as the entry point for this plugin
50 characters long description:
Integrates your WordPress site with the Tiqbiz API
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 plugin2,284 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 536 | 512 | 1,747 |
Markdown | 3 | 130 | 0 | 296 |
JavaScript | 1 | 32 | 1 | 124 |
CSS | 1 | 18 | 0 | 69 |
JSON | 1 | 0 | 0 | 48 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 7.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 1 | 3.85% |
Methods | 146 | |
▷ Static methods | 1 | 0.68% |
▷ Public methods | 119 | 81.51% |
▷ Protected methods | 13 | 8.90% |
▷ Private methods | 14 | 9.59% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 3.08KB | 1.97KB | ▼ 36.12% |