Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.35ms] Passed 4 tests
Server-side resources used by WP Admin Microblog
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.88 ▼3.62 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.69 ▼0.20 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.37 ▼3.22 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 98.25 ▲1.64 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.56 ▲3.06 |
Microblog /wp-admin/admin.php?page=wp-admin-microblog/wp-admin-microblog.php | 3.27 | 41.83 |
Settings /wp-admin/admin.php?page=wp-admin-microblog/settings.php | 3.24 | 33.73 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: 5 new tables, 6 new options
New tables |
---|
wp_admin_blog_posts |
wp_admin_blog_tags |
wp_admin_blog_meta |
wp_admin_blog_likes |
wp_admin_blog_relations |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Admin Microblog
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲233 | 13.70 ▼0.85 | 1.75 ▲0.03 | 32.71 ▼15.85 |
Dashboard /wp-admin | 2,349 ▲164 | 5.48 ▲0.65 | 108.37 ▼6.22 | 95.42 ▲49.43 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.00 ▲0.01 | 37.62 ▼1.51 | 35.34 ▲2.68 |
Add New Post /wp-admin/post-new.php | 1,542 ▲19 | 23.22 ▼0.32 | 730.35 ▲51.42 | 50.77 ▼6.43 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.13 ▼0.12 | 95.06 ▼5.94 | 65.41 ▲22.26 |
Microblog /wp-admin/admin.php?page=wp-admin-microblog/wp-admin-microblog.php | 1,324 | 3.57 | 45.88 | 88.84 |
Settings /wp-admin/admin.php?page=wp-admin-microblog/settings.php | 1,242 | 2.12 | 30.32 | 60.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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 uninstall procedure failed, leaving 5 tables in the database
- wp_admin_blog_likes
- wp_admin_blog_tags
- wp_admin_blog_relations
- wp_admin_blog_posts
- wp_admin_blog_meta
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-admin-microblog/core/screen.php:78
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-admin-microblog/wp-admin-microblog.php on line 51
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-admin-microblog/wp-admin-microblog.php on line 54
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-admin-microblog/wp-admin-microblog.php on line 48
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-admin-microblog/wp-admin-microblog.php on line 60
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-admin-microblog/wp-admin-microblog.php:107
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-admin-microblog/wp-admin-microblog.php on line 57
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Main interface), #2 (Dashboard widget), #3 (The options)
wp-admin-microblog/wp-admin-microblog.php Passed 13 tests
The primary PHP file in "WP Admin Microblog" version 3.1.1 is used by WordPress to initiate all plugin functionality
43 characters long description:
Adds a microblog in your WordPress backend.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin3,147 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 276 | 730 | 1,796 |
PO File | 4 | 439 | 843 | 1,013 |
CSS | 1 | 35 | 13 | 169 |
JavaScript | 4 | 13 | 22 | 169 |
PHP code Passed 2 tests
This is a short overview 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.32 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 60 | 100.00% |
▷ Public methods | 46 | 76.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 23.33% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 24.07KB | 11.36KB | ▼ 52.79% |
images/document-new-6.png | 3.17KB | 0.57KB | ▼ 81.91% |
images/logo.png | 3.17KB | 0.53KB | ▼ 83.25% |
screenshot-1.png | 66.33KB | 30.06KB | ▼ 54.68% |
screenshot-3.png | 54.46KB | 30.72KB | ▼ 43.60% |