Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/molongui-authorship/includes/activator.php+69
Undefined index: guest_authors
Server metrics [RAM: ▲2.10MB] [CPU: ▲20.37ms] Passed 4 tests
A check of server-side resources used by Author Box, Guest Author and Co-Authors for Your Posts - Molongui
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.40 ▲1.93 | 53.12 ▲7.98 |
Dashboard /wp-admin | 5.40 ▲2.09 | 70.76 ▲17.42 |
Posts /wp-admin/edit.php | 5.82 ▲2.46 | 87.16 ▲36.47 |
Add New Post /wp-admin/post-new.php | 8.18 ▲2.28 | 116.49 ▲33.79 |
Media Library /wp-admin/upload.php | 5.32 ▲2.08 | 58.20 ▲22.28 |
Tools /wp-admin/admin.php?page=molongui-authorship-tools | 5.66 | 55.67 |
Help! /wp-admin/admin.php?page=molongui-authorship-help | 5.32 | 54.64 |
Add New /wp-admin/admin.php?page=author-new | 5.32 | 54.82 |
Author Box Editor /wp-admin/admin.php?page=author-box-editor | 5.60 | 60.37 |
View All /wp-admin/admin.php?page=authors | 5.90 | 63.42 |
Settings /wp-admin/admin.php?page=molongui-authorship | 6.55 | 60.24 |
Server storage [IO: ▲8.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 842 new files
Database: no new tables, 12 new options
New WordPress options |
---|
23 |
widget_recent-posts |
molongui_authorship_db_version |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
molongui_authorship_cache_users |
molongui_authorship_cache_guests |
db_upgraded |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Author Box, Guest Author and Co-Authors for Your Posts - Molongui
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,223 ▲461 | 13.84 ▼0.40 | 5.42 ▲3.48 | 26.11 ▼18.25 |
Dashboard /wp-admin | 2,470 ▲290 | 4.95 ▼0.59 | 116.44 ▲20.51 | 56.64 ▲11.52 |
Posts /wp-admin/edit.php | 2,414 ▲311 | 2.80 ▲0.81 | 48.21 ▲5.94 | 35.39 ▼3.63 |
Add New Post /wp-admin/post-new.php | 6,544 ▲5,018 | 26.33 ▲2.85 | 820.86 ▲224.30 | 43.14 ▼18.42 |
Media Library /wp-admin/upload.php | 1,566 ▲163 | 4.33 ▲0.17 | 97.64 ▼3.59 | 47.49 ▲3.91 |
Tools /wp-admin/admin.php?page=molongui-authorship-tools | 1,377 | 2.38 | 45.26 | 48.49 |
Help! /wp-admin/admin.php?page=molongui-authorship-help | 1,575 | 3.72 | 84.79 | 38.60 |
Add New /wp-admin/admin.php?page=author-new | 1,143 | 2.13 | 44.22 | 35.68 |
Author Box Editor /wp-admin/admin.php?page=author-box-editor | 8,841 | 4.04 | 158.65 | 139.76 |
View All /wp-admin/admin.php?page=authors | 1,326 | 1.92 | 38.11 | 35.58 |
Settings /wp-admin/admin.php?page=molongui-authorship | 4,993 | 3.40 | 105.18 | 85.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- molongui_authorship_db_version
- molongui_authorship_options
- 23
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=author-box-editor
- > Notice in wp-content/plugins/molongui-authorship/includes/helpers/author/box/render.php+73
Trying to get property 'ID' of non-object
SRP 0% 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 take a closer look at the following
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/molongui-authorship/views/author-box/profile/html-layout-1.php
- > /wp-content/plugins/molongui-authorship/views/author-box/parts/html-name.php
- > /wp-content/plugins/molongui-authorship/views/author-box/parts/html-avatar.php
- > /wp-content/plugins/molongui-authorship/views/author-box/parts/html-meta.php
- > /wp-content/plugins/molongui-authorship/trunk/views/author-box/parts/html-meta.php
- > /wp-content/plugins/molongui-authorship/trunk/views/author-box/parts/html-avatar.php
- > /wp-content/plugins/molongui-authorship/trunk/views/author-box/parts/html-name.php
- > /wp-content/plugins/molongui-authorship/trunk/views/author-box/profile/html-layout-1.php
- 90× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include(): Failed opening 'MOLONGUI_AUTHORSHIP_DIRviews/author-box/parts/html-bio.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/molongui-authorship/views/author-box/profile/html-layout-1.php on line 28
- > PHP Notice
Undefined variable: author in wp-content/plugins/molongui-authorship/trunk/views/author-box/parts/html-name.php on line 27
- > PHP Warning
include(MOLONGUI_AUTHORSHIP_DIRviews/author-box/parts/html-bio.php): failed to open stream: No such file or directory in wp-content/plugins/molongui-authorship/trunk/views/author-box/profile/html-layout-1.php on line 28
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/molongui-authorship/views/author-box/related/html-layout-2.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/molongui-authorship/views/author-box/related/html-layout-1.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/molongui-authorship/trunk/views/author-box/parts/html-name.php on line 27
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/molongui-authorship/views/author-box/parts/html-meta.php on line 2
- > PHP Notice
Undefined variable: options in wp-content/plugins/molongui-authorship/views/author-box/parts/html-bio.php on line 2
- > PHP Notice
Undefined variable: random_id in wp-content/plugins/molongui-authorship/views/author-box/parts/html-tabs.php on line 9
- > PHP Notice
Undefined variable: options in wp-content/plugins/molongui-authorship/trunk/views/author-box/html-layout.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
molongui-authorship/molongui-authorship.php 85% from 13 tests
Analyzing the main PHP file in "Author Box, Guest Author and Co-Authors for Your Posts - Molongui" version 4.7.4
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)
- Requires PHP: The required version number must match the one declared in readme.txt ("5.5" instead of "5.5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin45,587 lines of code in 324 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 264 | 1,884 | 374 | 26,247 |
PO File | 7 | 5,537 | 8,880 | 13,072 |
JavaScript | 21 | 1,147 | 783 | 5,044 |
SVG | 3 | 149 | 0 | 727 |
CSS | 25 | 64 | 53 | 425 |
XML | 2 | 0 | 0 | 51 |
Markdown | 2 | 7 | 0 | 21 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 50.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 4 | 9.52% |
▷ Concrete classes | 38 | 90.48% |
▷ Final classes | 2 | 5.26% |
Methods | 578 | |
▷ Static methods | 18 | 3.11% |
▷ Public methods | 304 | 52.60% |
▷ Protected methods | 216 | 37.37% |
▷ Private methods | 58 | 10.03% |
Functions | 1,268 | |
▷ Named functions | 894 | 70.50% |
▷ Anonymous functions | 374 | 29.50% |
Constants | 192 | |
▷ Global constants | 20 | 10.42% |
▷ Class constants | 172 | 89.58% |
▷ Public constants | 172 | 100.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
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
trunk/assets/img/common/masthead_logo.png | 1.84KB | 0.75KB | ▼ 59.06% |
assets/img/common/masthead_logo.png | 1.84KB | 0.75KB | ▼ 59.06% |
assets/img/plugin_logo.png | 1.90KB | 1.57KB | ▼ 17.59% |
trunk/assets/img/common/lock.png | 0.28KB | 0.19KB | ▼ 31.01% |
trunk/assets/img/plugin_logo.png | 1.90KB | 1.57KB | ▼ 17.59% |