Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/ultimate-cms/index.php+175
closedir(): supplied resource is not a valid Directory resource
Server metrics [RAM: ▼1.27MB] [CPU: ▼48.31ms] Passed 4 tests
A check of server-side resources used by Ultimate CMS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.74 | 10.20 ▼33.71 |
Dashboard /wp-admin | 2.75 ▼0.56 | 13.32 ▼36.62 |
Posts /wp-admin/edit.php | 2.75 ▼0.61 | 15.70 ▼34.53 |
Add New Post /wp-admin/post-new.php | 2.75 ▼3.14 | 14.74 ▼88.36 |
Media Library /wp-admin/upload.php | 2.75 ▼0.49 | 15.19 ▼22.99 |
Server storage [IO: ▲2.21MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 106 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_taxonomymeta |
New WordPress options |
---|
xydac_cms_modules |
xydac_cms_ver |
widget_recent-posts |
xydac_cms_modules_old_hash |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate CMS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,007 ▲246 | 19.67 ▲5.17 | 19.43 ▲17.82 | 37.53 ▼3.17 |
Dashboard /wp-admin | 2,228 ▲51 | 6.64 ▲1.04 | 124.34 ▲37.99 | 38.87 ▼5.51 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 3.98 ▲1.98 | 54.60 ▲18.81 | 35.77 ▲4.17 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 24.76 ▲1.44 | 685.60 ▼5.27 | 35.57 ▼23.00 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 5.98 ▲1.83 | 102.07 ▲5.05 | 41.32 ▼8.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/ultimate-cms/index.php+175
closedir(): supplied resource is not a valid Directory resource
- Zombie tables detected upon uninstall: 1 table
- wp_taxonomymeta
- The uninstall procedure has failed, leaving 9 options in the database
- widget_theysaidso_widget
- xydac_cms_modules_old_hash
- widget_recent-comments
- xydac_cms_ver
- xydac_cms_modules
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/ultimate-cms/script.php
- > /wp-content/plugins/ultimate-cms/css.php
- 45× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'field_type' not found in wp-content/plugins/ultimate-cms/fieldTypes/class-image.php:3
- > PHP Fatal error
Uncaught Error: Class 'xydac_cms_module' not found in wp-content/plugins/ultimate-cms/class-xydac-cms-home.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/ultimate-cms/includes/includes-tab-import.php:86
- > PHP Fatal error
Uncaught Error: Class 'xydac_ultimate_cms_core' not found in wp-content/plugins/ultimate-cms/modules/moduleManager/class-xydac-module-manager-manager.php:2
- > PHP Fatal error
Uncaught Error: Class 'field_type' not found in wp-content/plugins/ultimate-cms/fieldTypes/class-nivoslider.php:3
- > PHP Fatal error
Uncaught Error: Class 'xydac_ultimate_cms_core' not found in wp-content/plugins/ultimate-cms/modules/archiver/class-xydac-archive-type-manager.php:3
- > PHP Fatal error
Uncaught Error: Class 'xydac_ultimate_cms_core' not found in wp-content/plugins/ultimate-cms/modules/moduleManager/class-xydac-module-manager-manager.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ultimate-cms/modules/taxonomy/class-xydac-tax-detail-widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'xydac_ultimate_cms_core' not found in wp-content/plugins/ultimate-cms/modules/forms/class-xydac-forms-fields.php:3
- > PHP Fatal error
Uncaught Error: Class 'field_type' not found in wp-content/plugins/ultimate-cms/fieldTypes/class-sidebar.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Ultimate CMS Menu), #2 (Module Manager), #3 (Post Type Manager Add), #4 (Post Type Manager Edit), #5 (Post Type Manager Fields), #6 (Taxonomy Manager), #7 (Post Type Backend Custom Field Form), #8 (Taxonomy Rewrite Option)
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ultimate-cms/index.php 85% from 13 tests
"Ultimate CMS" version 2.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ultimate-cms.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 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
Good job! No executable or dangerous file extensions detected8,370 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 68 | 943 | 699 | 7,129 |
CSS | 6 | 174 | 93 | 1,113 |
JavaScript | 3 | 22 | 27 | 128 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 23.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 237.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 4 | 6.35% |
▷ Concrete classes | 59 | 93.65% |
▷ Final classes | 0 | 0.00% |
Methods | 400 | |
▷ Static methods | 16 | 4.00% |
▷ Public methods | 390 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 2.50% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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
12 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fieldTypes/nivoslider/pascal/bullets.png | 3.23KB | 0.49KB | ▼ 84.97% |
fieldTypes/nivoslider/orman/bullets.png | 3.29KB | 0.71KB | ▼ 78.39% |
fieldTypes/nivoslider/pascal/controlnav.png | 5.60KB | 2.51KB | ▼ 55.19% |
fieldTypes/nivoslider/default/bullets.png | 1.25KB | 1.08KB | ▼ 13.74% |
fieldTypes/nivoslider/pascal/ribbon.png | 10.72KB | 3.59KB | ▼ 66.48% |