Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼1.39ms] Passed 4 tests
This is a short check of server-side resources used by Embed CloudTables directly in WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 41.45 ▲1.12 |
Dashboard /wp-admin | 3.44 ▲0.13 | 47.04 ▲2.29 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 53.02 ▲4.18 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 82.14 ▼13.13 |
Media Library /wp-admin/upload.php | 3.37 ▲0.13 | 40.46 ▲7.30 |
CloudTables /wp-admin/options-general.php?page=cloudtables | 3.33 | 31.48 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Embed CloudTables directly in WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,135 ▲389 | 23.53 ▲9.24 | 31.85 ▲29.80 | 39.94 ▼5.65 |
Dashboard /wp-admin | 2,295 ▲104 | 9.74 ▲3.81 | 120.59 ▲12.49 | 54.37 ▲11.08 |
Posts /wp-admin/edit.php | 2,177 ▲91 | 8.49 ▲6.50 | 75.12 ▲35.15 | 36.37 ▼1.08 |
Add New Post /wp-admin/post-new.php | 6,368 ▲4,835 | 27.35 ▲4.26 | 778.10 ▲97.02 | 40.00 ▼15.73 |
Media Library /wp-admin/upload.php | 1,498 ▲110 | 11.15 ▲7.01 | 125.52 ▲20.47 | 40.61 ▼5.42 |
CloudTables /wp-admin/options-general.php?page=cloudtables | 1,062 | 8.78 | 60.92 | 34.78 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/cloudtables/cloudtables.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is not present
cloudtables/cloudtables.php 92% from 13 tests
"Embed CloudTables directly in WordPress" version 1.3.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:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.5.0" instead of "5.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin17,805 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 16,800 |
PHP | 3 | 136 | 140 | 644 |
SVG | 1 | 13 | 1 | 192 |
JavaScript | 3 | 15 | 5 | 108 |
CSS | 1 | 14 | 1 | 61 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 48.50 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 3 | 11.11% |
▷ Public methods | 21 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 22.22% |
Functions | 12 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 12 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo.png | 9.75KB | 4.81KB | ▼ 50.64% |