Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▲0.74ms] Passed 4 tests
An overview of server-side resources used by DataFlexor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 43.70 ▼2.78 |
Dashboard /wp-admin | 3.61 ▲0.30 | 51.33 ▲1.05 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 61.53 ▲10.05 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 101.37 ▲1.19 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 40.24 ▲3.50 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for DataFlexor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲10 | 14.34 ▲0.05 | 1.67 ▼0.11 | 42.06 ▲1.69 |
Dashboard /wp-admin | 2,202 ▲22 | 5.60 ▼0.06 | 92.65 ▼2.01 | 42.98 ▲0.35 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.02 ▼0.00 | 42.91 ▲1.54 | 36.63 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 20.89 ▼2.81 | 626.81 ▼35.73 | 51.31 ▼0.30 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.10 ▼0.27 | 101.03 ▼11.17 | 44.64 ▼0.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% 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 need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Make a set of categories for your custom category type.), #2 (Link your Advanced Custom Fields group to the relevant category.), #3 (Make new entries.), #4 (See the results appear on the front end.)
dataflexor/dataflexor.php Passed 13 tests
"DataFlexor" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
131 characters long description:
DataFlexor is a data management framework to allow easy extension of WordPress content. Requires the Advanced Custom Fields plugin.
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 plugin1,684 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 347 | 858 | 1,143 |
JavaScript | 1 | 48 | 113 | 355 |
Markdown | 2 | 26 | 0 | 82 |
PO File | 2 | 18 | 22 | 68 |
CSS | 1 | 7 | 20 | 36 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 189.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 2 | 2.38% |
▷ Public methods | 84 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
8 PNG files occupy 0.25MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Tax-meta-class/images/edit.png | 1.54KB | 1.38KB | ▼ 10.34% |
Tax-meta-class/images/remove.png | 2.15KB | 1.67KB | ▼ 22.25% |
screenshot-4.png | 42.63KB | 19.31KB | ▼ 54.70% |
screenshot-1.png | 59.49KB | 28.60KB | ▼ 51.92% |
Tax-meta-class/images/add.png | 1.84KB | 1.49KB | ▼ 19.11% |