Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼0.61ms] Passed 4 tests
Analyzing server-side resources used by Elvez Manage Contents
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 41.86 ▲1.32 |
Dashboard /wp-admin | 3.59 ▲0.28 | 51.21 ▼0.99 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 52.84 ▲2.31 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 96.05 ▼5.06 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 44.49 ▲9.28 |
Manage Contents Admin /wp-admin/admin.php?page=elvez-manage-contents | 3.47 | 34.45 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 8 new options
New WordPress options |
---|
elvez_manage_contents_subscription_id |
elvez_manage_contents_subscribe_email |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Elvez Manage Contents
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲213 | 14.02 ▼0.41 | 8.09 ▲6.21 | 40.19 ▼3.25 |
Dashboard /wp-admin | 2,242 ▲51 | 5.28 ▼0.60 | 107.48 ▼5.06 | 40.50 ▼0.02 |
Posts /wp-admin/edit.php | 2,131 ▲43 | 2.48 ▲0.37 | 41.78 ▲0.44 | 39.35 ▲2.38 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 17.72 ▼5.53 | 635.77 ▼19.04 | 66.00 ▲10.28 |
Media Library /wp-admin/upload.php | 1,430 ▲39 | 4.52 ▲0.32 | 104.78 ▲1.90 | 48.36 ▲4.46 |
Manage Contents Admin /wp-admin/admin.php?page=elvez-manage-contents | 1,101 | 2.54 | 42.02 | 32.13 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- widget_recent-comments
- elvez_manage_contents_subscribe_email
- widget_theysaidso_widget
- elvez_manage_contents_subscription_id
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/elvez-manage-contents/public/partials/elvez-manage-contents-public-display.php
- > /wp-content/plugins/elvez-manage-contents/admin/partials/elvez-manage-contents-admin-display.php
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 93% from 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
5 plugin tags: contents, shortcode, login, block, logout
elvez-manage-contents/elvez-manage-contents.php 85% from 13 tests
Analyzing the main PHP file in "Elvez Manage Contents" version 1.1.6
The following require your attention:
- Requires PHP: Required version does not match the one declared in readme.txt ("7.4" instead of "7.2")
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.2")
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
No dangerous file extensions were detected3,106 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 373 | 1,780 | 1,967 |
JavaScript | 6 | 38 | 140 | 609 |
CSS | 2 | 38 | 45 | 300 |
PO File | 6 | 141 | 230 | 230 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 10.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 152 | |
▷ Static methods | 64 | 42.11% |
▷ Public methods | 147 | 96.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.29% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 54 | |
▷ Global constants | 1 | 1.85% |
▷ Class constants | 53 | 98.15% |
▷ Public constants | 53 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin