Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.92ms] Passed 4 tests
Analyzing server-side resources used by Sortable Word Count Reloaded
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 42.66 ▲2.20 |
Dashboard /wp-admin | 3.38 ▲0.04 | 49.75 ▼9.84 |
Posts /wp-admin/edit.php | 3.50 ▲0.10 | 52.95 ▼3.25 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 92.12 ▼15.13 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 37.09 ▲0.54 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
apa_swcr_option_word_count |
Browser metrics Passed 4 tests
An overview of browser requirements for Sortable Word Count Reloaded
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.35 ▼0.20 | 1.68 ▲0.14 | 39.30 ▲1.50 |
Dashboard /wp-admin | 2,200 ▲20 | 5.65 ▼0.02 | 94.29 ▲5.19 | 38.00 ▼4.06 |
Posts /wp-admin/edit.php | 2,132 ▲29 | 1.98 ▼0.05 | 33.89 ▼8.70 | 34.88 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 18.42 ▼6.16 | 668.23 ▲0.65 | 72.85 ▼6.54 |
Media Library /wp-admin/upload.php | 1,393 ▼7 | 4.18 ▼0.04 | 100.43 ▼5.12 | 42.51 ▼2.65 |
Uninstaller [IO: ▲0.05MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall successfully, leaving 7 files (0.05MB) in the plugin directory
- (new file) languages/sortable-word-count-reloaded-es_ES.mo
- (new file) languages/sortable-word-count-reloaded-es_ES.po
- (new file) readme.txt
- (new file) license.txt
- (new file) sortable-word-count-reloaded.php
- (new file) index.php
- (new file) languages/sortable-word-count-reloaded.pot
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- apa_swcr_option_word_count
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: posts, column, sortable, admin, word count...
sortable-word-count-reloaded/sortable-word-count-reloaded.php Passed 13 tests
The main file in "Sortable Word Count Reloaded" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
72 characters long description:
Adds a sortable column to the posts and pages admin with the word count.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin155 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 83 | 109 |
PO File | 1 | 7 | 7 | 46 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin