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 gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.09ms] Passed 4 tests
An overview of server-side resources used by Archive Title
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.22 ▼1.42 |
Dashboard /wp-admin | 3.36 ▲0.05 | 43.64 ▲1.10 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 42.41 ▼7.35 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 78.72 ▼12.68 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.25 ▲3.31 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Archive Title
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.24 ▼0.27 | 1.66 ▲0.03 | 37.78 ▲0.65 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▼0.10 | 82.12 ▼4.14 | 39.30 ▲3.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.04 ▲0.06 | 34.42 ▼8.59 | 33.18 ▼6.80 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.07 ▲4.81 | 650.79 ▲39.42 | 53.47 ▼23.64 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.27 ▲0.08 | 99.65 ▲2.22 | 48.02 ▲5.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
archive-title/archive-title.php Passed 13 tests
This is the main PHP file of "Archive Title" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
50 characters long description:
Provides options to control an archive page title.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected347 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 291 | 322 | 324 |
Markdown | 3 | 14 | 0 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 18 | |
▷ Static methods | 16 | 88.89% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin