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.08MB] [CPU: ▼4.85ms] Passed 4 tests
This is a short check of server-side resources used by Mathilda
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 40.18 ▲0.47 |
Dashboard /wp-admin | 3.39 ▲0.08 | 48.69 ▼2.25 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 48.57 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 94.15 ▼16.24 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.46 ▲3.34 |
Tweets /wp-admin/tools.php?page=mathilda-tools-menu | 3.27 | 35.09 |
Mathilda /wp-admin/options-general.php?page=mathilda-options | 3.27 | 35.36 |
Server storage [IO: ▲0.16MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: 5 new tables, 45 new options
New tables |
---|
wp_mathilda_hashtags |
wp_mathilda_media |
wp_mathilda_urls |
wp_mathilda_tweets |
wp_mathilda_mentions |
New WordPress options |
---|
mathilda_plugin_version |
mathilda_slug_is_changed |
can_compress_scripts |
mathilda_import_interval |
mathilda_consumer_secret |
mathilda_activated |
mathilda_retweets |
mathilda_import_subprocess_running |
mathilda_import |
mathilda_cron_lastrun |
... |
Browser metrics Passed 4 tests
Mathilda: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲132 | 13.32 ▼0.97 | 4.55 ▲2.78 | 40.16 ▼6.28 |
Dashboard /wp-admin | 2,274 ▲74 | 4.89 ▼1.02 | 111.00 ▼6.59 | 44.24 ▼2.04 |
Posts /wp-admin/edit.php | 2,109 ▲30 | 2.05 ▲0.03 | 38.69 ▼0.23 | 39.15 ▲5.69 |
Add New Post /wp-admin/post-new.php | 1,554 ▲20 | 23.38 ▼0.03 | 725.50 ▲61.14 | 54.68 ▼25.20 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.24 ▲0.03 | 102.89 ▼0.54 | 46.89 ▼2.02 |
Tweets /wp-admin/tools.php?page=mathilda-tools-menu | 910 | 2.01 | 26.77 | 31.08 |
Mathilda /wp-admin/options-general.php?page=mathilda-options | 948 | 2.04 | 25.34 | 29.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mathilda/mathilda_tools.php:17
- > 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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: social network, microblogging, twitter, tweets, blog
mathilda/mathilda.php 92% from 13 tests
The entry point to "Mathilda" version 0.12 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected3,368 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,184 | 952 | 3,325 |
CSS | 2 | 19 | 2 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
Functions | 160 | |
▷ Named functions | 160 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
mathilda_tweet.png | 0.45KB | 0.75KB | 0.00% |