Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.21ms] Passed 4 tests
A check of server-side resources used by Old Core Files
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.25 ▼3.11 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.61 ▼2.31 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.10 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 91.96 ▲2.76 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.65 ▲2.11 |
Old Core Files /wp-admin/tools.php?page=old-core-files | 3.50 | 36.72 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Old Core Files
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.14 ▼1.24 | 1.73 ▼0.02 | 43.33 ▼5.13 |
Dashboard /wp-admin | 2,213 ▲25 | 5.90 ▲1.02 | 95.79 ▼24.98 | 39.56 ▼7.26 |
Posts /wp-admin/edit.php | 2,093 ▲22 | 2.00 ▼0.04 | 38.73 ▲2.60 | 36.54 ▲0.92 |
Add New Post /wp-admin/post-new.php | 1,545 ▲22 | 18.18 ▼5.08 | 613.41 ▼41.25 | 61.89 ▲11.61 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.24 ▲0.04 | 98.49 ▲4.00 | 40.73 ▼0.34 |
Old Core Files /wp-admin/tools.php?page=old-core-files | 975 | 2.26 | 36.45 | 24.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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 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
The SRP test was a success
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
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: A description for screenshot #2 is required in old-core-files/assets to your readme.txt
old-core-files/old-core-files.php Passed 13 tests
"Old Core Files" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
99 characters long description:
Old Core Files notifies the user when old core files which are due removal exist in the filesystem.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin240 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 106 | 220 | 240 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 25.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 PNG files occupy 0.33MB with 0.22MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 87.71KB | 26.81KB | ▼ 69.43% |
screenshot-1.png | 253.98KB | 90.94KB | ▼ 64.20% |