Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Parse error in wp-content/plugins/fck-pack/fck-pack.php+106
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.91ms] Passed 4 tests
Analyzing server-side resources used by FCK Pack
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.96 ▼5.17 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.06 ▼17.63 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.56 ▲1.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 100.64 ▼2.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.99 ▲2.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FCK Pack
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 14.32 ▼0.03 | 1.83 ▼0.07 | 42.42 ▼1.19 |
Dashboard /wp-admin | 2,195 ▲24 | 5.63 ▲0.05 | 89.44 ▼2.35 | 42.59 ▲5.87 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▼0.02 | 35.83 ▼0.61 | 36.93 ▼0.30 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.59 ▲0.35 | 649.20 ▼51.04 | 56.49 ▲1.56 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.05 | 98.16 ▼19.05 | 41.60 ▼9.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/fck-pack/seleccio_club.php
- > /wp-content/plugins/fck-pack/connexio.php
- > /wp-content/plugins/fck-pack/shortcode_expl.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/fck-pack/classificacio.php:4
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/fck-pack/propers_partits.php on line 4
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/fck-pack/classificacio.php on line 3
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/fck-pack/fck-pack.php on line 106
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/fck-pack/propers_partits.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== fck-pack ===
)
fck-pack/fck-pack.php 92% from 13 tests
Analyzing the main PHP file in "FCK Pack" version 1.1
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 186 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin243 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 7 | 24 | 242 |
XML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin