Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.54MB] [CPU: ▼13.73ms] Passed 4 tests
This is a short check of server-side resources used by ACTUS Xfields
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.18 ▲0.63 |
Dashboard /wp-admin | 3.49 ▲0.18 | 63.53 ▲10.13 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 57.67 ▲4.86 |
Add New Post /wp-admin/post-new.php | 3.29 ▼2.59 | 40.30 ▼65.38 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 43.43 ▲4.97 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 3.38 | 43.14 |
ACTUS Xfields /wp-admin/admin.php?page=actus-xfields | 3.40 | 44.37 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
ACTUS_XF_VERSION |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for ACTUS Xfields
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,071 ▲310 | 14.70 ▲0.61 | 1.68 ▼0.12 | 42.32 ▼5.77 |
Dashboard /wp-admin | 2,462 ▲259 | 6.60 ▲0.80 | 135.03 ▲30.40 | 78.38 ▲40.81 |
Posts /wp-admin/edit.php | 2,376 ▲276 | 3.55 ▲1.55 | 51.73 ▲12.10 | 81.72 ▲49.61 |
Add New Post /wp-admin/post-new.php | 6,270 ▲4,725 | 26.28 ▲2.97 | 868.99 ▲253.09 | 38.00 ▼29.38 |
Media Library /wp-admin/upload.php | 1,507 ▲110 | 4.31 ▲0.09 | 96.16 ▼22.82 | 112.73 ▲63.02 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 1,140 | 3.23 | 52.52 | 104.83 |
ACTUS Xfields /wp-admin/admin.php?page=actus-xfields | 1,458 | 3.22 | 46.39 | 87.43 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- ACTUS_XF_VERSION
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/actus-xfields/includes/actus-plugins.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
actus-xfields/actus-xfields.php Passed 13 tests
The main file in "ACTUS Xfields" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
Create custom fields for your pages and posts, or global options for your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,482 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 380 | 142 | 1,839 |
CSS | 2 | 267 | 63 | 1,714 |
PHP | 6 | 316 | 158 | 929 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
29 PNG files occupy 0.58MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/actus_white.png | 21.21KB | 4.82KB | ▼ 77.29% |
img/icon-help.png | 3.46KB | 2.37KB | ▼ 31.60% |
img/banner-xfields.png | 137.08KB | 61.12KB | ▼ 55.41% |
img/x.png | 3.66KB | 1.66KB | ▼ 54.50% |
img/actus_white_20.png | 15.42KB | 0.73KB | ▼ 95.25% |