Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW]: s4rdm3x: A Tool Suite to Explore Code to Architecture Mapping Techniques #2791

Closed
40 tasks done
whedon opened this issue Oct 28, 2020 · 62 comments
Closed
40 tasks done
Assignees
Labels
accepted Java published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review TeX

Comments

@whedon
Copy link

whedon commented Oct 28, 2020

Submitting author: @tobias-dv-lnu (Tobias Olsson)
Repository: https://github.com/tobias-dv-lnu/s4rdm3x
Version: v1.3
Editor: @gkthiruvathukal
Reviewer: @kinow, @xirdneh
Archive: 10.5281/zenodo.4475664

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

Status

status

Status badge code:

HTML: <a href="https://joss.theoj.org/papers/f4301adc3e9121a10354c355d91b5c1f"><img src="https://joss.theoj.org/papers/f4301adc3e9121a10354c355d91b5c1f/status.svg"></a>
Markdown: [![status](https://joss.theoj.org/papers/f4301adc3e9121a10354c355d91b5c1f/status.svg)](https://joss.theoj.org/papers/f4301adc3e9121a10354c355d91b5c1f)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@kinow & @xirdneh, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @gkthiruvathukal know.

Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest

Review checklist for @kinow

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@tobias-dv-lnu) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?

Review checklist for @xirdneh

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@tobias-dv-lnu) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?
@whedon
Copy link
Author

whedon commented Oct 28, 2020

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @kinow, @xirdneh it looks like you're currently assigned to review this paper 🎉.

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

⭐ Important ⭐

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Oct 28, 2020

PDF failed to compile for issue #2791 with the following error:

/app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:in block in find': No such file or directory - 241d63aa7177374e42894fdd (Errno::ENOENT) from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:in collect!'
from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:in find' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/lib/whedon/processor.rb:66:in find_paper_paths'
from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/bin/whedon:53:in prepare' from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/command.rb:27:in run'
from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command' from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor.rb:387:in dispatch'
from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/base.rb:466:in start' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/bin/whedon:131:in <top (required)>'
from /app/vendor/bundle/ruby/2.4.0/bin/whedon:23:in load' from /app/vendor/bundle/ruby/2.4.0/bin/whedon:23:in

'

@kinow
Copy link

kinow commented Nov 2, 2020

@gkthiruvathukal hi, do you have karma to re-generate the article? I think the bot failed to do so, and I think I need it to complete the review checklist items for the paper. Please.

Thank you!

@arfon
Copy link
Member

arfon commented Nov 2, 2020

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Nov 2, 2020

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@kinow
Copy link

kinow commented Nov 2, 2020

Thanks!

@gkthiruvathukal
Copy link

@gkthiruvathukal Sorry I didn't get to your request as fast as @arfon, @kinow. Looks like we're good now.

@whedon
Copy link
Author

whedon commented Nov 4, 2020

👋 @kinow, please update us on how your review is going.

@whedon
Copy link
Author

whedon commented Nov 4, 2020

👋 @xirdneh, please update us on how your review is going.

@kinow
Copy link

kinow commented Nov 5, 2020

My review is complete @gkthiruvathukal ✔️

Even managed to test s4rdm3x with Apache Commons Imaging. I was going to use Apache Commons Lang, but I am currently working on Imaging. I didn't add all the relationships between packages, and the tool correctly highlighted the failed clusterings.

image

Didn't get fully familiar with the rest of the interface and metrics, but looks really useful for developers inspecting code bases, and getting familiar with new architectures.

I used IntelliJ's diagram builder to remind me of some of the relationships, but in the past I used Stan4J that would be a good tool to help users to create sysmdl files.

commons-imaging.sysmdl # name Apache Commons Imaging

jar

commons-imaging-1.0-alpha2.jar

root-packages

org/apache/commons/imaging/

metrics file

#commons-imaging-file-metrics.csv

modules

base
color
common
bmp
dcx
gif
icns
ico
jpeg
pcx
png
pnm
psd
rgbe
tiff
wbmp
xbm
xpm
icc
internal
palette

mapping

<high_level_module> <regular_expression>

base org.apache.commons.imaging.color.[^.]*
color org.apache.commons.imaging.color.*
common org.apache.commons.imaging.common.*
bmp org.apache.commons.imaging.formats.bmp.*
dcx org.apache.commons.imaging.formats.dcx.*
gif org.apache.commons.imaging.formats.gif.*
icns org.apache.commons.imaging.formats.icns.*
ico org.apache.commons.imaging.formats.ico.*
jpeg org.apache.commons.imaging.formats.jpeg.*
pcx org.apache.commons.imaging.formats.pcx.*
png org.apache.commons.imaging.formats.png.*
pnm org.apache.commons.imaging.formats.pnm.*
psd org.apache.commons.imaging.formats.psd.*
rgbe org.apache.commons.imaging.formats.rgbe.*
tiff org.apache.commons.imaging.formats.tiff.*
wbmp org.apache.commons.imaging.formats.wbmp.*
xbm org.apache.commons.imaging.formats.xbm.*
xpm org.apache.commons.imaging.formats.xpm.*
icc org.apache.commons.imaging.formats.icc.*
internal org.apache.commons.imaging.formats.internal.*
palette org.apache.commons.imaging.formats.palette.*

relations

<source_module> <target_module>

base icc
base common
common base
common internal
icc common
jpeg common
palette base
palette internal
color internal

Thank you for your patience and help with the issues found during the review @tobias-dv-lnu!

@h0bb3
Copy link

h0bb3 commented Nov 5, 2020

Awesome! @kinow: Do you consider the sysmdl for commons imaging to be "correct"? If so would can I include it in the repo as an available system (always on the lookout for more data :) )

And thank you for the feedback and found problems!

@kinow
Copy link

kinow commented Nov 5, 2020

Awesome! @kinow: Do you consider the sysmdl for commons imaging to be "correct"? If so would can I include it in the repo as an available system (always on the lookout for more data :) )

Not yet, but I will open a draft pull request. We can discuss how to improve it. I didn't understand how to use all the options and settings, and for the experiment.xml I simply used the same one from JebRef modifying the system loaded.

I've created a draft PR: h0bb3/s4rdm3x#14

@xirdneh
Copy link

xirdneh commented Nov 10, 2020

Having some trouble testing a couple of things on the paper. I think it has to do with my local setup, I am currently tweaking some thing and will try to finish this over the weekend.
Sorry for the delay.

@h0bb3
Copy link

h0bb3 commented Nov 10, 2020

@xirdneh: just let me know if I can help :)

@gkthiruvathukal
Copy link

@xirdneh Just checking on how things are coming along with your review. I'm definitely not trying to rush you but would like to see if we are getting closer.

@kinow Am I correct in interpreting your review as being complete and ready to recommend acceptance, or are their still issues requiring attention?

@kyleniemeyer
Copy link

@whedon set v1.3 as version

@whedon
Copy link
Author

whedon commented Feb 5, 2021

OK. v1.3 is the version.

@kyleniemeyer
Copy link

@whedon accept

@whedon whedon added the recommend-accept Papers recommended for acceptance in JOSS. label Feb 5, 2021
@whedon
Copy link
Author

whedon commented Feb 5, 2021

Attempting dry run of processing paper acceptance...

@whedon
Copy link
Author

whedon commented Feb 5, 2021

👋 @openjournals/joss-eics, this paper is ready to be accepted and published.

Check final proof 👉 openjournals/joss-papers#2077

If the paper PDF and Crossref deposit XML look good in openjournals/joss-papers#2077, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.

@whedon accept deposit=true

@whedon
Copy link
Author

whedon commented Feb 5, 2021

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1145/3241403.3241456 is OK

MISSING DOIs

- 10.1016/j.infsof.2006.10.015 may be a valid DOI for title: Automated clustering to support the reflexion method
- 10.1109/wcre.2010.26 may be a valid DOI for title: Improving automated mapping in reflexion models using information retrieval techniques
- 10.1145/3344948.3344984 may be a valid DOI for title: Semi-automatic mapping of source code using naive Bayes
- 10.1145/3344948.3344997 may be a valid DOI for title: An exploration and experiment tool suite for code to architecture mapping techniques
- 10.1007/s11219-018-9404-z may be a valid DOI for title: Exploring the suitability of source code metrics for indicating architectural inconsistencies
- 10.1109/wcre.2012.35 may be a valid DOI for title: On the evolutionary nature of architectural violations

INVALID DOIs

- None

@kyleniemeyer
Copy link

@tobias-dv-lnu, it looks like DOIs may be available but missing for a number of your references. Can you please check these, and add if appropriate? I will then be able to accept the submission. Thanks!

@gkthiruvathukal
Copy link

Thanks, @kyleniemeyer for helping to bring this to closure! :)

@h0bb3
Copy link

h0bb3 commented Feb 6, 2021

@kyleniemeyer Thanks! Just added the missing DOIs in the paper.bib file (whedon had made the correct guesses on the DOIs), everything should be ok now I hope :)

@arfon
Copy link
Member

arfon commented Feb 6, 2021

@whedon check references

@whedon
Copy link
Author

whedon commented Feb 6, 2021

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1016/j.infsof.2006.10.015 is OK
- 10.1109/WCRE.2010.26 is OK
- 10.1145/3344948.3344984 is OK
- 10.1145/3344948.3344997 is OK
- 10.1145/3241403.3241456 is OK
- 10.1007/s11219-018-9404-z is OK
- 10.1109/wcre.2012.35 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@arfon
Copy link
Member

arfon commented Feb 6, 2021

@whedon accept

@whedon
Copy link
Author

whedon commented Feb 6, 2021

Attempting dry run of processing paper acceptance...

@whedon
Copy link
Author

whedon commented Feb 6, 2021

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1016/j.infsof.2006.10.015 is OK
- 10.1109/WCRE.2010.26 is OK
- 10.1145/3344948.3344984 is OK
- 10.1145/3344948.3344997 is OK
- 10.1145/3241403.3241456 is OK
- 10.1007/s11219-018-9404-z is OK
- 10.1109/wcre.2012.35 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Feb 6, 2021

👋 @openjournals/joss-eics, this paper is ready to be accepted and published.

Check final proof 👉 openjournals/joss-papers#2078

If the paper PDF and Crossref deposit XML look good in openjournals/joss-papers#2078, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.

@whedon accept deposit=true

@arfon
Copy link
Member

arfon commented Feb 7, 2021

@whedon accept deposit=true

@whedon
Copy link
Author

whedon commented Feb 7, 2021

Doing it live! Attempting automated processing of paper acceptance...

@whedon whedon added accepted published Papers published in JOSS labels Feb 7, 2021
@whedon
Copy link
Author

whedon commented Feb 7, 2021

🐦🐦🐦 👉 Tweet for this paper 👈 🐦🐦🐦

@whedon
Copy link
Author

whedon commented Feb 7, 2021

🚨🚨🚨 THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! 🚨🚨🚨

Here's what you must now do:

  1. Check final PDF and Crossref metadata that was deposited 👉 Creating pull request for 10.21105.joss.02791 joss-papers#2081
  2. Wait a couple of minutes to verify that the paper DOI resolves https://doi.org/10.21105/joss.02791
  3. If everything looks good, then close this review issue.
  4. Party like you just published a paper! 🎉🌈🦄💃👻🤘

Any issues? Notify your editorial technical team...

@arfon
Copy link
Member

arfon commented Feb 7, 2021

@kinow, @xirdneh - many thanks for your reviews here and to @gkthiruvathukal for editing this submission. JOSS relies upon the volunteer efforts of folks like yourselves and we simply wouldn't be able to do this without you! ✨

@tobias-dv-lnu - your paper is now accepted and published in JOSS ⚡🚀💥

@arfon arfon closed this as completed Feb 7, 2021
@whedon
Copy link
Author

whedon commented Feb 7, 2021

🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](https://joss.theoj.org/papers/10.21105/joss.02791/status.svg)](https://doi.org/10.21105/joss.02791)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.02791">
  <img src="https://joss.theoj.org/papers/10.21105/joss.02791/status.svg" alt="DOI badge" >
</a>

reStructuredText:
.. image:: https://joss.theoj.org/papers/10.21105/joss.02791/status.svg
   :target: https://doi.org/10.21105/joss.02791

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

@h0bb3
Copy link

h0bb3 commented Feb 7, 2021

@kinow, @xirdneh, @gkthiruvathukal, @arfon : Thank you all for making this happen!

@kinow
Copy link

kinow commented Feb 7, 2021

Thank you for writing the article and having patience with the review process @tobias-dv-lnu . And thanks to all involved too 💐 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Java published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review TeX
Projects
None yet
Development

No branches or pull requests

7 participants