Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.46MB] [CPU: ▼292.94ms] Passed 4 tests
Server-side resources used by SQL Reporting Services - SSRS Plugin for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.35 ▲4.84 | 77.11 ▲22.29 |
Dashboard /wp-admin | 8.37 ▲4.97 | 65.86 ▲30.04 |
Posts /wp-admin/edit.php | 8.37 ▲4.73 | 72.87 ▲27.12 |
Add New Post /wp-admin/post-new.php | 10.27 ▲3.30 | 115.53 ▼1,251.20 |
Media Library /wp-admin/upload.php | 8.37 ▲5.08 | 67.81 ▲40.80 |
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius | 8.37 | 48.16 |
SQL Reporting Services /wp-admin/options-general.php?page=sqlreportingservices | 8.37 | 58.93 |
Server storage [IO: ▲4.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 273 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_debug_mode |
fs_active_plugins |
fs_gdpr |
fs_accounts |
Browser metrics Passed 4 tests
SQL Reporting Services - SSRS Plugin for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,935 ▲193 | 15.95 ▲0.17 | 8.73 ▲1.86 | 2.04 ▼0.11 |
Dashboard /wp-admin | 2,939 ▲81 | 6.15 ▼0.10 | 155.01 ▲12.20 | 173.60 ▲9.65 |
Posts /wp-admin/edit.php | 2,728 ▲34 | 3.24 ▲0.01 | 63.90 ▼4.72 | 224.00 ▲76.93 |
Add New Post /wp-admin/post-new.php | 1,675 ▲14 | 16.82 ▼4.95 | 428.60 ▲2.00 | 166.40 ▲8.95 |
Media Library /wp-admin/upload.php | 1,736 ▲38 | 5.54 ▲0.00 | 139.25 ▼1.43 | 206.91 ▲21.59 |
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius | 1,439 | 2.53 | 54.07 | 170.04 |
SQL Reporting Services /wp-admin/options-general.php?page=sqlreportingservices | 1,294 | 2.47 | 53.33 | 208.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/sql-reporting-services/freemius/includes/class-freemius.php+8540
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 4 options in the database
- fs_accounts
- fs_active_plugins
- fs_debug_mode
- fs_gdpr
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/sql-reporting-services/admin/partials/sql-reporting-services-admin-display.php
- > /wp-content/plugins/sql-reporting-services/freemius/templates/ajax-loader.php
- > /wp-content/plugins/sql-reporting-services/public/partials/sql-reporting-services-public-display.php
- 34× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'ISSRSBaseType' not found in wp-content/plugins/sql-reporting-services/includes/SSRS/SSRSType/ReportParameter.php:31
- > PHP Fatal error
Uncaught Error: Interface 'ISSRSBaseType' not found in wp-content/plugins/sql-reporting-services/includes/SSRS/SSRSType/ReportPaperSize.php:31
- > PHP Fatal error
Uncaught Error: Class 'SSRSBaseType' not found in wp-content/plugins/sql-reporting-services/includes/SSRS/SSRSType/CatalogItemCollection.php:31
- > PHP Fatal error
Uncaught Error: Interface 'ISSRSBaseType' not found in wp-content/plugins/sql-reporting-services/includes/SSRS/SSRSType/CatalogItem.php:31
- > PHP Fatal error
Uncaught Error: Class 'RenderBaseType' not found in wp-content/plugins/sql-reporting-services/includes/SSRS/RenderType/RenderAsIMAGE.php:31
- > PHP Fatal error
Uncaught Error: Interface 'ISSRSBaseType' not found in wp-content/plugins/sql-reporting-services/includes/SSRS/SSRSType/PageSettings.php:31
- > PHP Fatal error
Uncaught Error: Class 'SSRSBaseType' not found in wp-content/plugins/sql-reporting-services/includes/SSRS/SSRSType/ExecutionInfo2.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/sql-reporting-services/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/sql-reporting-services/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Interface 'ISSRSBaseType' not found in wp-content/plugins/sql-reporting-services/includes/SSRS/SSRSType/Warning.php:31
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
sql-reporting-services/sql-reporting-services.php Passed 13 tests
The entry point to "SQL Reporting Services - SSRS Plugin for WordPress" version 1.0.3 is a PHP file that has certain tags in its header comment area
111 characters long description:
This plugin allows you to embed Microsoft SQL Reporting Services (SSRS) reports right into your WordPress site.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected47,684 lines of code in 220 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 162 | 7,668 | 18,837 | 32,155 |
PO File | 10 | 5,710 | 6,913 | 12,558 |
Sass | 29 | 399 | 77 | 2,523 |
JavaScript | 5 | 38 | 59 | 200 |
Markdown | 1 | 61 | 0 | 192 |
CSS | 12 | 1 | 3 | 29 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,895)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 43.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,895.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 94 | |
▷ Abstract classes | 3 | 3.19% |
▷ Concrete classes | 91 | 96.81% |
▷ Final classes | 0 | 0.00% |
Methods | 1,274 | |
▷ Static methods | 180 | 14.13% |
▷ Public methods | 920 | 72.21% |
▷ Protected methods | 22 | 1.73% |
▷ Private methods | 332 | 26.06% |
Functions | 97 | |
▷ Named functions | 97 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 129 | |
▷ Global constants | 100 | 77.52% |
▷ Class constants | 29 | 22.48% |
▷ Public constants | 29 | 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
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/sql-reporting-services.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |