Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/global-posts-ordering/global-posts-ordering.php+33
Methods with the same name as their class will not be constructors in a future version of PHP; global_posts_ordering has a deprecated constructor
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.87ms] Passed 4 tests
Server-side resources used by Global Posts Ordering
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.94 ▼0.64 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.58 ▼6.45 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.65 ▼1.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.34 ▼13.90 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.11 ▼1.89 |
Server storage [IO: ▲0.17MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Global Posts Ordering
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.14 ▼0.26 | 1.75 ▲0.16 | 45.19 ▲5.51 |
Dashboard /wp-admin | 2,195 ▲18 | 5.52 ▼0.04 | 80.06 ▼8.81 | 36.69 ▼8.18 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▼0.00 | 33.48 ▼0.80 | 36.28 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.17 ▼5.59 | 593.05 ▼72.15 | 62.50 ▲11.51 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.18 ▼0.03 | 94.61 ▼7.36 | 42.47 ▼0.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- 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 no errors were found, this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
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 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (Just drag the posts up and down to change their order)
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
global-posts-ordering/global-posts-ordering.php Passed 13 tests
Analyzing the main PHP file in "Global Posts Ordering" version 0.9.5
82 characters long description:
Adjust the global order of posts from various post types via simple drag and drop.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected381 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 31 | 238 |
CSS | 1 | 0 | 0 | 87 |
JavaScript | 1 | 6 | 5 | 56 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 11.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon32.png | 2.73KB | 1.17KB | ▼ 56.98% |