Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.01ms] Passed 4 tests
A check of server-side resources used by GN Customize Post List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.12 ▲4.31 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.63 ▲2.55 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.08 ▲2.02 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 80.87 ▼12.93 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.88 ▲5.60 |
GN Customize Post List /wp-admin/options-general.php?page=gn-customize-post-list | 3.26 | 30.27 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
gncpl_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GN Customize Post List
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.18 ▼0.17 | 1.65 ▲0.13 | 39.18 ▼5.31 |
Dashboard /wp-admin | 2,199 ▲29 | 5.59 ▼0.03 | 91.26 ▼5.21 | 39.17 ▼2.51 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.00 | 33.08 ▼0.75 | 34.78 ▼5.55 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.15 ▼0.29 | 663.73 ▼5.05 | 50.45 ▼5.70 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.13 ▼0.12 | 110.33 ▲14.38 | 46.84 ▲4.78 |
GN Customize Post List /wp-admin/options-general.php?page=gn-customize-post-list | 1,013 | 2.64 | 45.32 | 37.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== gn-customize-post-list ===
)
gn-customize-post-list/gn-customize-post-list.php Passed 13 tests
The entry point to "GN Customize Post List" version 1.1.0 is a PHP file that has certain tags in its header comment area
56 characters long description:
You can customize the display items of the article list.
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
Success! There were no dangerous files found in this plugin308 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 47 | 17 | 307 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 5.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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 images were found in this plugin