Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.80ms] Passed 4 tests
An overview of server-side resources used by Ninjalytics Ecommerce Reports Exporter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.09 ▲0.52 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.99 ▼5.05 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.96 ▼4.87 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.06 ▼17.80 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.74 ▲0.64 |
Ecommerce Reports Exporter /wp-admin/admin.php?page=ags-reporting-preset-exporter | 3.24 | 33.88 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ninjalytics Ecommerce Reports Exporter
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.45 ▲0.09 | 1.72 ▼0.17 | 36.93 ▼5.90 |
Dashboard /wp-admin | 2,198 ▲24 | 5.62 ▲0.09 | 89.97 ▼6.40 | 39.52 ▼5.19 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.00 ▲0.05 | 37.41 ▼2.50 | 37.44 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,531 ▼5 | 23.12 ▲4.93 | 711.69 ▲77.61 | 60.66 ▼1.76 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▼0.00 | 101.45 ▲4.26 | 47.05 ▲2.34 |
Ecommerce Reports Exporter /wp-admin/admin.php?page=ags-reporting-preset-exporter | 831 | 2.01 | 22.74 | 63.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ecommerce-reports-exporter/ecommerce-reports-exporter.php:56
- > PHP Fatal error
Uncaught Error: Class 'AGSReportingPresetExporter' not found in wp-content/plugins/ecommerce-reports-exporter/includes/admin/pages/admin.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #1 is required in ecommerce-reports-exporter/assets to your readme.txt
ecommerce-reports-exporter/ecommerce-reports-exporter.php 92% from 13 tests
The main file in "Ninjalytics Ecommerce Reports Exporter" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 detected946 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 6 | 94 | 135 | 420 |
CSS | 1 | 9 | 12 | 326 |
PHP | 2 | 43 | 37 | 184 |
JavaScript | 1 | 0 | 0 | 15 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 10 | 100.00% |
▷ Public methods | 5 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 50.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
No PNG images were found in this plugin