Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.27ms] Passed 4 tests
Analyzing server-side resources used by PPPT
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.86 ▲4.08 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.07 ▼7.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.99 ▼0.55 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.92 ▼2.40 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.51 ▼2.67 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for PPPT
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲118 | 13.39 ▼0.98 | 7.86 ▲6.16 | 38.96 ▼7.11 |
Dashboard /wp-admin | 2,202 ▲25 | 5.67 ▲0.05 | 84.09 ▼14.21 | 38.95 ▼4.73 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.04 | 39.85 ▲3.61 | 36.08 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.22 ▲0.20 | 680.81 ▲40.58 | 74.08 ▲14.43 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.20 ▼0.01 | 95.11 ▼5.84 | 44.45 ▼0.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/pppt/public/partials/pppt-public-display.php
- > /wp-content/plugins/pppt/admin/partials/pppt-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== pppt ===
)
pppt/pppt.php Passed 13 tests
The main file in "PPPT" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
73 characters long description:
Archive plugins you don't need anymore, and get it back when you want it.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin772 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 163 | 720 | 578 |
PO File | 1 | 29 | 30 | 96 |
JavaScript | 2 | 9 | 61 | 55 |
CSS | 2 | 9 | 8 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 11.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.62% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected