Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.37ms] Passed 4 tests
A check of server-side resources used by Rudimentary Information
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.36 ▼5.70 |
Dashboard /wp-admin | 3.34 ▼0.00 | 44.82 ▼16.89 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 52.55 ▲6.73 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.38 ▼7.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 33.05 ▲0.21 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_tag_widget |
widget_theme_widget |
widget_plugin_widget |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_download_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Rudimentary Information: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.26 ▼1.14 | 4.02 ▲1.71 | 40.23 ▼5.08 |
Dashboard /wp-admin | 2,206 ▲21 | 5.88 ▲1.05 | 105.60 ▼10.10 | 36.51 ▼9.26 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.01 ▼0.04 | 39.65 ▲4.61 | 34.64 ▼3.19 |
Add New Post /wp-admin/post-new.php | 1,376 ▼138 | 16.49 ▼1.20 | 561.98 ▼125.09 | 48.48 ▼17.99 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.22 ▼0.02 | 96.26 ▼3.94 | 42.24 ▼3.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_theme_widget
- db_upgraded
- widget_tag_widget
- widget_download_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_plugin_widget
- widget_recent-comments
- widget_theysaidso_widget
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 | 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 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: plugins, api, themes
rudimentary-information/rudimentary-information.php Passed 13 tests
This is the main PHP file of "Rudimentary Information" version 0.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Rudimentary Information currently displays themes information using the WordPress.org theme's API.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected789 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 165 | 763 | 724 |
CSS | 1 | 13 | 0 | 65 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 8 | 20.00% |
▷ Public methods | 32 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 20.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin