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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.17ms] Passed 4 tests
An overview of server-side resources used by Get Data
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.00 ▼4.36 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.45 ▼6.20 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.85 ▼3.76 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 104.30 ▲8.12 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.43 ▲1.64 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 14 new options
New WordPress options |
---|
start_element_header |
can_compress_scripts |
get_data_link_footer |
widget_recent-posts |
get_data_link_header |
get_data_view_header |
start_element_footer |
end_element_footer |
get_data_view_footer |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Get Data
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.57 ▼0.80 | 1.79 ▼0.06 | 42.60 ▼0.40 |
Dashboard /wp-admin | 2,227 ▲39 | 5.80 ▼0.09 | 103.49 ▼2.46 | 73.21 ▲29.07 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.00 ▼0.05 | 40.17 ▲3.02 | 33.53 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.18 ▼0.07 | 689.74 ▼11.41 | 54.80 ▼2.76 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.23 ▲0.03 | 103.52 ▼3.13 | 70.75 ▲21.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 14 options in the database
- end_element_footer
- db_upgraded
- start_element_header
- can_compress_scripts
- get_data_link_header
- get_data_view_header
- theysaidso_admin_options
- widget_recent-posts
- get_data_view_footer
- widget_theysaidso_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 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 register_activation_hook() in wp-content/plugins/get-data/get-data.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #2 in get-data/assets to your readme.txt
get-data/get-data.php Passed 13 tests
Analyzing the main PHP file in "Get Data" version 1.4
88 characters long description:
By using Get Data Plugin, you can get content by URL and insert data in header or footer
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin193 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 14 | 193 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 30.97KB | 14.77KB | ▼ 52.30% |
screenshot-1.png | 24.76KB | 11.92KB | ▼ 51.86% |
i/data.png | 0.50KB | 0.49KB | ▼ 1.75% |