Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.09ms] Passed 4 tests
A check of server-side resources used by Simple Post Views
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.32 ▼7.51 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.92 ▼4.81 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.63 ▲4.79 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.19 ▼3.28 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.40 ▲3.23 |
Post Views /wp-admin/options-general.php?page=spvc-settings | 3.22 | 32.22 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Simple Post Views: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.28 ▼1.30 | 1.52 ▼0.13 | 38.89 ▼3.05 |
Dashboard /wp-admin | 2,213 ▲25 | 4.86 ▼1.04 | 105.15 ▲7.11 | 40.42 ▼6.42 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.00 ▼0.01 | 36.14 ▲0.37 | 33.81 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 18.31 ▼4.87 | 591.12 ▼139.95 | 59.35 ▼2.38 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.02 | 96.14 ▼6.98 | 41.94 ▼2.57 |
Post Views /wp-admin/options-general.php?page=spvc-settings | 802 | 2.06 | 23.77 | 30.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3 in simple-post-views/assets to your readme.txt
- Contributors: The plugin contributors field is not present
simple-post-views/simple-post-views.php Passed 13 tests
The main file in "Simple Post Views" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
70 characters long description:
A simple plugin to count unique post views and display the view count.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected136 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 20 | 136 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
There are no PNG files in this plugin