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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼9.30ms] Passed 4 tests
This is a short check of server-side resources used by Performance Tester
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.08 | 58.72 ▲15.76 |
Dashboard /wp-admin | 3.43 ▲0.08 | 48.42 ▼0.75 |
Posts /wp-admin/edit.php | 3.54 ▲0.14 | 47.80 ▼6.26 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.08 | 90.23 ▼25.83 |
Media Library /wp-admin/upload.php | 3.35 ▲0.08 | 33.49 ▼4.35 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Performance Tester
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 14.25 ▼0.14 | 2.39 ▲0.69 | 59.03 ▲16.53 |
Dashboard /wp-admin | 2,220 ▲40 | 5.49 ▼0.18 | 83.54 ▼6.13 | 41.38 ▼0.98 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 1.98 ▼0.02 | 35.79 ▼4.80 | 35.10 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.09 ▼0.71 | 656.30 ▼41.01 | 54.93 ▲1.78 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.15 ▼0.10 | 100.01 ▼22.76 | 44.83 ▼2.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/performance-tester/performance-tester.php
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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
performance-tester/performance-tester.php Passed 13 tests
This is the main PHP file of "Performance Tester" version 0.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
63 characters long description:
Analyze your web page and get a quality and performance report.
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
Success! There were no dangerous files found in this plugin624 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 70 | 171 | 320 |
PO File | 1 | 37 | 42 | 139 |
CSS | 1 | 27 | 24 | 116 |
JavaScript | 1 | 8 | 12 | 49 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 45.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 55.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/stair_drawer.png | 0.11KB | 0.12KB | 0.00% |
image/logo.png | 1.80KB | 1.87KB | 0.00% |