Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method DC_Infomous_Cloud::activate_dc_infomous_cloud() should not be called statically
Server metrics [RAM: ▼0.64MB] [CPU: ▼16.98ms] Passed 4 tests
Analyzing server-side resources used by Infomous
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.05 | 39.62 ▼4.84 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.83 ▼5.12 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.84 ▲0.59 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.69 | 38.31 ▼58.54 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.39 ▲2.40 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
dc_infomous_cloud_installed |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Infomous
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.20 ▼1.03 | 1.82 ▼0.16 | 43.44 ▼8.79 |
Dashboard /wp-admin | 2,229 ▲41 | 5.83 ▼0.02 | 101.12 ▼17.82 | 73.04 ▲30.18 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 1.97 ▼0.02 | 34.54 ▲0.30 | 33.36 ▼4.57 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 22.29 ▲4.83 | 695.49 ▲13.07 | 59.27 ▲4.55 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.27 ▲0.10 | 108.90 ▲11.27 | 45.75 ▲3.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method DC_Infomous_Cloud::deactivate_dc_infomous_cloud() should not be called statically
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
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)
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: news feed, social media, feed, blog feed, interactive cloud...
infomous/infomous.php 92% from 13 tests
This is the main PHP file of "Infomous" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 430 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin11,609 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 367 | 288 | 5,588 |
Sass | 9 | 1,152 | 14 | 2,303 |
LESS | 9 | 1,152 | 87 | 2,231 |
PHP | 10 | 255 | 226 | 862 |
SVG | 1 | 0 | 0 | 399 |
JavaScript | 4 | 6 | 1 | 117 |
PO File | 1 | 40 | 42 | 109 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 24.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 4.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 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 | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/images/question_mark.png | 0.86KB | 0.00KB | ▼ 100.00% |
assets/images/infomous.png | 0.39KB | 0.49KB | 0.00% |
assets/images/fpd/grid.png | 2.69KB | 0.13KB | ▼ 95.17% |
assets/images/dualcube.png | 3.29KB | 0.65KB | ▼ 80.17% |
assets/images/dclogo-2x.png | 4.35KB | 1.74KB | ▼ 60.10% |