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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.87MB] [CPU: ▼30.75ms] Passed 4 tests
Server-side resources used by Sample Data Export
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.66 ▲5.74 |
Dashboard /wp-admin | 3.08 ▼0.23 | 23.62 ▼23.46 |
Posts /wp-admin/edit.php | 3.08 ▼0.28 | 24.05 ▼22.51 |
Add New Post /wp-admin/post-new.php | 3.08 ▼2.81 | 24.12 ▼65.79 |
Media Library /wp-admin/upload.php | 3.08 ▼0.15 | 23.71 ▼11.22 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sample Data Export
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.62 ▼1.07 | 1.64 ▲0.07 | 40.41 ▼1.00 |
Dashboard /wp-admin | 2,242 ▲50 | 5.28 ▲0.37 | 114.30 ▲0.49 | 34.76 ▼8.14 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.58 ▲0.61 | 35.89 ▼3.29 | 27.42 ▼4.95 |
Add New Post /wp-admin/post-new.php | 1,699 ▲166 | 23.41 ▲0.10 | 652.34 ▼141.15 | 33.78 ▼25.16 |
Media Library /wp-admin/upload.php | 1,487 ▲99 | 4.61 ▲0.40 | 100.55 ▼15.66 | 40.36 ▼7.45 |
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
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/sample-data-export/includes/admin/export-data.php+4
Undefined index: startdate
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Screenshot_1.png), #2 (Screenshot_2.png)
sample-data-export/sample-data-export.php Passed 13 tests
The entry point to "Sample Data Export" version 1.0.0 is a PHP file that has certain tags in its header comment area
35 characters long description:
Download Users Data from the table.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected17,477 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 1,775 | 81 | 10,652 |
JavaScript | 3 | 2,002 | 6,882 | 6,515 |
PHP | 7 | 53 | 91 | 310 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 25 | |
▷ Static methods | 10 | 40.00% |
▷ Public methods | 14 | 56.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 44.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin