Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.54ms] Passed 4 tests
Server-side resources used by GData Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 34.78 ▼6.29 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.02 ▼3.07 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.31 ▼5.06 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.62 ▼3.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.31 ▲1.64 |
Server storage [IO: ▲2.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 355 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
GData Importer: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.03 | 1.63 ▼0.10 | 40.79 ▲0.60 |
Dashboard /wp-admin | 2,206 ▲17 | 5.85 ▲0.90 | 97.80 ▼5.80 | 41.73 ▼2.15 |
Posts /wp-admin/edit.php | 2,089 ▲18 | 2.01 ▲0.00 | 39.29 ▲3.67 | 34.98 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,514 ▼30 | 17.69 ▼0.55 | 660.13 ▼7.71 | 57.15 ▲5.30 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.15 ▼0.06 | 96.91 ▼0.94 | 42.66 ▼2.69 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 672× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(Zend/Gdata/Extension.php): failed to open stream: No such file or directory in wp-content/plugins/gdata-importer/Zend/Gdata/Photos/Extension/AlbumId.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Gdata/Media/Feed.php' (include_path='.:/usr/share/php') in wp-content/plugins/gdata-importer/Zend/Gdata/YouTube/InboxFeed.php on line 27
- > PHP Warning
require_once(Zend/Gdata/Extension.php): failed to open stream: No such file or directory in wp-content/plugins/gdata-importer/Zend/Gdata/Photos/Extension/Nickname.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Gdata/Entry.php' (include_path='.:/usr/share/php') in wp-content/plugins/gdata-importer/Zend/Gdata/Spreadsheets/CellEntry.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Gdata/Extension.php' (include_path='.:/usr/share/php') in wp-content/plugins/gdata-importer/Zend/Gdata/YouTube/Extension/AboutMe.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Gdata/App/Extension/Element.php' (include_path='.:/usr/share/php') in wp-content/plugins/gdata-importer/Zend/Gdata/Health/Extension/Ccr.php on line 26
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Gdata/Extension.php' (include_path='.:/usr/share/php') in wp-content/plugins/gdata-importer/Zend/Gdata/YouTube/Extension/Status.php on line 27
- > PHP Warning
require_once(Zend/Gdata/Extension.php): failed to open stream: No such file or directory in wp-content/plugins/gdata-importer/Zend/Gdata/YouTube/Extension/Racy.php on line 27
- > PHP Warning
require_once(Zend/Gdata/Entry.php): failed to open stream: No such file or directory in wp-content/plugins/gdata-importer/Zend/Gdata/Health/ProfileEntry.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Gdata/App/Extension.php' (include_path='.:/usr/share/php') in wp-content/plugins/gdata-importer/Zend/Gdata/Media/Extension/MediaRestriction.php on line 27
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: import, docs, spreadsheet, data, google
gdata-importer/index.php 92% from 13 tests
The main file in "GData Importer" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("gdata-importer.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected29,313 lines of code in 354 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 354 | 5,503 | 28,709 | 29,313 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 175.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 345 | |
▷ Abstract classes | 10 | 2.90% |
▷ Concrete classes | 335 | 97.10% |
▷ Final classes | 1 | 0.30% |
Methods | 2,185 | |
▷ Static methods | 68 | 3.11% |
▷ Public methods | 2,030 | 92.91% |
▷ Protected methods | 153 | 7.00% |
▷ Private methods | 2 | 0.09% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 172 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 172 | 100.00% |
▷ Public constants | 172 | 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
PNG images were not found in this plugin