Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▲2.93ms] 75% from 4 tests
Analyzing server-side resources used by Prodii Presentation - for Teams and Organisations
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 604.64ms on /wp-admin/admin.php?page=prodii-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.87 ▲6.76 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.24 ▲0.74 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.95 ▲4.09 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.80 ▲6.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.98 ▲0.61 |
Reference /wp-admin/admin.php?page=prodii-reference | 3.31 | 32.28 |
Shortcodes /wp-admin/admin.php?page=prodii-overview | 3.30 | 1,302.13 |
Settings /wp-admin/admin.php?page=prodii-settings | 3.30 | 604.64 |
Server storage [IO: ▲1.48MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- Illegal file modification found: 7 files (0.43KB) outside of "wp-content/plugins/prodii-presentation-for-teams-and-organisations/" and "wp-content/uploads/"
- (new file) wp-content/cache/prodii/curl/1e1ec1b8477dea71d0ae4f3eca36b68a1ed26d87e9d327e05713f25b1526ef65
- (new file) wp-content/cache/prodii/curl/6d4bc4492e754ef823b5e3073270d24c49434302bf8f1df7c053494a0daf26af
- (new file) wp-content/cache/prodii/profile/.empty
- (new file) wp-content/cache/prodii/company/.empty
- (new file) wp-content/cache/prodii/team/.empty
- (new file) wp-content/cache/prodii/curl/6f7ef0c9168af37afdd41d9261cd15c578264ac4b0d55b45474fbbb26ab7b7a0
- (new file) wp-content/cache/prodii/curl/0c8034005077ca82f556e3c21fa42fd77105fc56588da9f955781a96ea871475
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Prodii Presentation - for Teams and Organisations: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲91 | 14.41 ▲0.05 | 1.81 ▼0.26 | 42.19 ▼5.02 |
Dashboard /wp-admin | 2,235 ▲44 | 5.90 ▲1.01 | 96.27 ▼3.65 | 89.27 ▲44.96 |
Posts /wp-admin/edit.php | 2,121 ▲35 | 2.00 ▼0.04 | 37.31 ▲0.73 | 32.73 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.09 ▼5.10 | 735.81 ▲108.36 | 66.21 ▲16.26 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.22 ▲0.05 | 101.93 ▲3.97 | 87.15 ▲39.10 |
Reference /wp-admin/admin.php?page=prodii-reference | 1,608 | 2.18 | 37.72 | 52.94 |
Shortcodes /wp-admin/admin.php?page=prodii-overview | 984 | 1.90 | 26.33 | 28.93 |
Settings /wp-admin/admin.php?page=prodii-settings | 1,007 | 1.95 | 24.75 | 29.88 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ProdiiBase' not found in wp-content/plugins/prodii-presentation-for-teams-and-organisations/classes/ProdiiCompany.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function prodii_template_data() in wp-content/plugins/prodii-presentation-for-teams-and-organisations/prodii-templates/copenhagen/tmp/template-team.php:2
- > PHP Fatal error
Uncaught Error: Class 'ProdiiBase' not found in wp-content/plugins/prodii-presentation-for-teams-and-organisations/pages/page-settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/prodii-presentation-for-teams-and-organisations/classes/ProdiiShortcode.php:122
- > PHP Fatal error
Uncaught Error: Class 'ProdiiBase' not found in wp-content/plugins/prodii-presentation-for-teams-and-organisations/classes/ProdiiList.php:3
- > PHP Fatal error
Uncaught Error: Class 'ProdiiBase' not found in wp-content/plugins/prodii-presentation-for-teams-and-organisations/classes/ProdiiProfile.php:3
- > PHP Fatal error
Uncaught Error: Class 'Prodii' not found in wp-content/plugins/prodii-presentation-for-teams-and-organisations/pages/page-reference.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function prodii_template_data() in wp-content/plugins/prodii-presentation-for-teams-and-organisations/prodii-templates/copenhagen/tmp/template-team-multi.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/prodii-presentation-for-teams-and-organisations/setup.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/prodii-presentation-for-teams-and-organisations/classes/ProdiiAjax.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: presentation, teams, api, remote, prodii
prodii-presentation-for-teams-and-organisations/setup.php 77% from 13 tests
"Prodii Presentation - for Teams and Organisations" version 0.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/prodii-presentation")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("prodii-presentation-for-teams-and-organisations.php" instead of "setup.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin11,117 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 287 | 20 | 3,555 |
JavaScript | 9 | 257 | 209 | 2,681 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 21 | 304 | 346 | 1,967 |
Sass | 4 | 35 | 0 | 219 |
JSON | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 17.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 97 | |
▷ Static methods | 47 | 48.45% |
▷ Public methods | 77 | 79.38% |
▷ Protected methods | 4 | 4.12% |
▷ Private methods | 16 | 16.49% |
Functions | 22 | |
▷ Named functions | 9 | 40.91% |
▷ Anonymous functions | 13 | 59.09% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/prodii.png | 1.13KB | 0.24KB | ▼ 78.76% |
prodii-templates/copenhagen/assets/img/placeholder-310x310.png | 4.17KB | 2.48KB | ▼ 40.52% |
assets/img/settings.png | 20.82KB | 7.92KB | ▼ 61.96% |