Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.26ms] Passed 4 tests
Analyzing server-side resources used by Clicface Organi
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.42 ▼7.82 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.49 ▼1.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.20 ▼8.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.26 ▼18.91 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.85 ▼0.03 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Clicface Organi
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.50 | 1.72 ▲0.11 | 43.08 ▼5.91 |
Dashboard /wp-admin | 2,203 ▲12 | 5.79 ▲0.89 | 96.64 ▼5.06 | 39.71 ▼2.56 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.05 ▼0.01 | 35.41 ▲1.02 | 33.66 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.46 ▼5.73 | 676.83 ▼9.26 | 80.72 ▲18.97 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▲0.00 | 96.80 ▼13.43 | 43.80 ▼2.97 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/clicface-organi/clicface-organi.php:12
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: organigramme, staff directory, organizational chart, org chart, management tool...
clicface-organi/clicface-organi.php Passed 13 tests
"Clicface Organi" version 2.08's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
56 characters long description:
The Org Chart web application. Clicface Trombi required.
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
There were no executable files found in this plugin1,979 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 128 | 37 | 1,060 |
JavaScript | 3 | 88 | 65 | 667 |
CSS | 6 | 60 | 7 | 252 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.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
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/plus-icon.png | 0.99KB | 0.92KB | ▼ 7.22% |
img/arrow-up-vide.png | 0.19KB | 0.12KB | ▼ 33.68% |
img/refresh-icon.png | 3.29KB | 2.09KB | ▼ 36.47% |
img/remove-icon.png | 1.84KB | 1.40KB | ▼ 23.87% |
img/switch-icon.png | 1.97KB | 1.75KB | ▼ 11.19% |